Closed hdjsjyl closed 6 years ago
Same issue
Got past this by just moving symbol_vgg.py into source but then it can't find 'bbox' module. Apparently this has something to do with cython but reinstalling it didn't help.
Have the same issue
It could mean import failed for some reason especially if using Python3. Cython should produce rcnn/cython/bbox.so but please check out dev branch on how to just disable cython.
@hdjsjyl @SaptaGit @ijkguo @taurenexcrement @dovatron Hello Guys, Did you guys solve the problem of
File "/home/ubuntu/MXnet/rcnn/symbol/init.py", line 1, in
I got the above error when i try to run this command bash script/vgg_voc07.sh 0 ´ Any help is really appreciated
Python 3? I think change to from .symbol_vgg import *
should work
@ijkguo I got it now. But now i am getting new error.
Traceback (most recent call last):
File "test.py", line 5, in
what is the issue?
Check the version. I fixed python 3 compatibility. The current master is different from the error you provide.
Yaa I corrected it.
Now i m getting this error after 1 epoch. How to solve this? Is it related to mxnet version?
Traceback (most recent call last): File "train_end2end.py", line 178, in main() File "train_end2end.py", line 175, in main lr=args.lr, lr_step=args.lr_step) File "train_end2end.py", line 137, in train_net arg_params=arg_params, aux_params=aux_params, begin_epoch=begin_epoch, num_epoch=end_epoch) File "/home/ubuntu/anaconda3/envs/mxnet_p27/lib/python2.7/site-packages/mxnet/module/base_module.py", line 517, in fit self.set_params(arg_params, aux_params) File "/home/ubuntu/anaconda3/envs/mxnet_p27/lib/python2.7/site-packages/mxnet/module/base_module.py", line 652, in set_params allow_extra=allow_extra) TypeError: init_params() got an unexpected keyword argument 'allow_extra'
Yeah working on new mxnet api right now. Checkout dev branch symnet/module.py. Should be just syntax fix.
@ijkguo Thank you for your previous solution
Now I have done training on my own data. But when i run a demo on single image to check my model.
I am not able to detect 2 classes on same image.. I could only able to detect one object per image.
while training i have given images with single object only. 300 images with pedestrians and 300 images with bicycle. so total 600 images.
Is it because of this?
what would be the problem?
Please help me in this..
The original issue is related to cython modules, which are removed in the new release.
As for training on your own dataset, you are welcome to open a new issue to detail your modifications.
No module named 'symbol_vgg'.........