Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when I running test.sh ValueError #54

Open
WUT-xiaoming opened this issue Oct 26, 2019 · 0 comments
Open

when I running test.sh ValueError #54

WUT-xiaoming opened this issue Oct 26, 2019 · 0 comments

Comments

@WUT-xiaoming
Copy link

Loaded dataset kitti_val for training
Preparing training data...
cache file ./data/kitti/object/kitti_val_gt_roidb.pkl
kitti_val gt roidb loaded from ./data/kitti/object/kitti_val_gt_roidb.pkl
done
3769 roidb entries
load checkpoint models_stereo/stereo_rcnn_12_6477.pth
load model successfully!
Traceback (most recent call last):s, solve time 0.39s (Press Esc to exit!)
File "test_net.py", line 121, in
data = next(data_iter)
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 615, in next
batch = self.collate_fn([self.dataset[i] for i in indices])
File "/usr/local/lib/python3.6/dist-packages/torch/utils/data/dataloader.py", line 615, in
batch = self.collate_fn([self.dataset[i] for i in indices])
File "/dataVolume/szm/Stereo-RCNN-1.0/lib/roi_data_layer/roibatchLoader.py", line 45, in getitem
blobs = get_minibatch(minibatch_db, self._num_classes)
File "/dataVolume/szm/Stereo-RCNN-1.0/lib/roi_data_layer/minibatch.py", line 34, in get_minibatch
im_blob_left, im_blob_right, im_scales = _get_image_blob(roidb, random_scale_inds)
File "/dataVolume/szm/Stereo-RCNN-1.0/lib/roi_data_layer/minibatch.py", line 115, in _get_image_blob
blob_left, blob_right = im_list_to_blob(processed_ims_left, processed_ims_right)
File "/dataVolume/szm/Stereo-RCNN-1.0/lib/model/utils/blob.py", line 35, in im_list_to_blob
blob_right[i, 0:im_r.shape[0], 0:im_r.shape[1], :] = im_r
ValueError: could not broadcast input array from shape (608,2014,3) into shape (600,1985,3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant