-
Notifications
You must be signed in to change notification settings - Fork 190
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
Installing mxnet using pip works! #68
Comments
Hello , I installed pip install mxnet-cu100==1.5.1, and run demo.py successfully,but when I run train.py,after training. I met the error. Traceback (most recent call last): can anyone tell me how to fix it? thanks very much! |
Just set allow_extra=True. |
Thanks for your help.but when I tried to change allow_extra=allow_extra with allow_extra=True in mxnet\module\base_module.py line 699,the problem is still there. then I also change |
|
这个问题有什么好的解决方法吗?谢谢回复 |
TL;DR: you can install mxnet using pip instead of compile it from source!
For all the ones having trouble to complie mxnet from source:
I did not manage to compile mxnet from source and encountered several problems mentioned in other issues. Then I tried to compile a newer version of mxnet (official 1.5.1). Doing so I noticed that the operator files already exist in the official mxnet source.
Thus, I installed this mxnet version using pip - I have Cuda 10.0 so I've used the following command line:
pip install mxnet-cu100==1.5.1
and it works!
After that, I had out of memory problems while running demo.py. I have GTX 1080 with 8GB of RAM. I dealt with it by changing KEY_FRAME_INTERVAL from 9 to 5 (in fgfa_rfcn/demo.py), and changing the code in demo.py as in #16 (comment)
The text was updated successfully, but these errors were encountered: