Scale Match Failed
When I modify the config file and train on my own dataset, this error happens: File "tiny_benchmark/maskrcnn_benchmark/data/datasets/ship.py", line 110, in getitem img, target = self.transforms(img, target) File "maskrcnn_benchmark/data/transforms/transforms.py", line 13, in call image, target = t(image, target) File "maskrcnn_benchmark/data/transforms/scale_match.py", line 293, in call dst_size = self._sample_by_distribute(src_size) File "maskrcnn_benchmark/data/transforms/scale_match.py", line 255, in _sample_by_distribute bin_i = np.nonzero(src_size <= self.src_sizes[1:] + 1e-6)[0][0] IndexError: index 0 is out of bounds for axis 0 with size 0
I have tried modify the bins number amd the scale range, but it failed. Could you give some suggestions ?
When I modify the config file and train on my own dataset, this error happens: File "tiny_benchmark/maskrcnn_benchmark/data/datasets/ship.py", line 110, in getitem img, target = self.transforms(img, target) File "maskrcnn_benchmark/data/transforms/transforms.py", line 13, in call image, target = t(image, target) File "maskrcnn_benchmark/data/transforms/scale_match.py", line 293, in call dst_size = self._sample_by_distribute(src_size) File "maskrcnn_benchmark/data/transforms/scale_match.py", line 255, in _sample_by_distribute bin_i = np.nonzero(src_size <= self.src_sizes[1:] + 1e-6)[0][0] IndexError: index 0 is out of bounds for axis 0 with size 0
I have tried modify the bins number amd the scale range, but it failed. Could you give some suggestions ? hello, i meet the same problem,do you solve it?