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

ValueError: total size of new array must be unchanged #114

Open
clxia12 opened this issue Jun 20, 2018 · 0 comments
Open

ValueError: total size of new array must be unchanged #114

clxia12 opened this issue Jun 20, 2018 · 0 comments

Comments

@clxia12
Copy link

clxia12 commented Jun 20, 2018

when i train my dataset model with the command : './experiments/scripts/rfcn_end2end_ohem.sh 3 ResNet-101 pascal_voc' , an error occured as follows:
Traceback (most recent call last):
File "./tools/train_net.py", line 112, in
max_iters=args.max_iters)
File "/home/data2/clxia1120/software/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 207, in train_net
model_paths = sw.train_model(max_iters)
File "/home/data2/clxia1120/software/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 155, in train_model
model_paths.append(self.snapshot())
File "/home/data2/clxia1120/software/py-R-FCN/tools/../lib/fast_rcnn/train.py", line 112, in snapshot
np.repeat(self.bbox_stds, repeat).reshape((orig_1.shape[0], 1, 1, 1)))
ValueError: total size of new array must be unchanged
who can tell me how to deal with?

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