ravens/agents/transporter.py
def concatenate_c_h(self, colormap, heightmap):
        """Concatenates color and height images to get a 6D image."""
        img = np.concatenate((colormap,
                              heightmap[..., None],
                              heightmap[..., None],
                              heightmap[..., None]), axis=2)
        assert img.shape == self.input_shape, img.shape
        return img
Concatenates color and height images to get a 6D image.
Concatenates color and height images to get a 6D image.
Concatenates color and height images to get a 6D image .
def concatenate_c_h(self, colormap, heightmap):
        img = np.concatenate((colormap,
                              heightmap[..., None],
                              heightmap[..., None],
                              heightmap[..., None]), axis=2)
        assert img.shape == self.input_shape, img.shape
        return img
def concatenate_c_h ( self , colormap , heightmap ) : img = np . concatenate ( ( colormap , heightmap [ ... , None ] , heightmap [ ... , None ] , heightmap [ ... , None ] ) , axis = 2 ) assert img . shape == self . input_shape , img . shape return img
Concatenates color and height images to get a 6D image.
Concatenates color and height images to get a 6D image .
"""Concatenates color and height images to get a 6D image."""
self
colormap
heightmap