Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from data.isprs import IsprsDataset
- dataset = IsprsDataset()
- dataset.label_to_one_hot_batch(label_batch) # where label_batch is defined elsewhere
- /home/user/jimcharles/rastervision/semseg/data/isprs.pyc in augment_channels(self, batch_x)
- 123
- 124 def augment_channels(self, batch_x):
- --> 125 red = batch_x[:, :, :, [self.red_ind]]
- 126 ir = batch_x[:, :, :, [self.ir_ind]]
- 127 ndvi = compute_ndvi(red, ir)
- AttributeError: IsprsDataset instance has no attribute 'red_ind'
Add Comment
Please, Sign In to add comment