cad0p/maskrcnn-modanet

No module named 'maskrcnn_modanet.cli'

Closed this issue · 17 comments

I ran pip install maskrcnn-modanet on a gcp instance with linux and i am facing this error whenever i try to run any command

Traceback (most recent call last): File "/home/ubuntu/anaconda3/envs/python3/bin/maskrcnn-modanet", line 7, in <module> from maskrcnn_modanet.cli.main import main ModuleNotFoundError: No module named 'maskrcnn_modanet.cli'

cad0p commented

Tried it .. same error

It is successfully installing with no errors . But while running a command it is throwing the error

cad0p commented

It's very strange..

You should have this file, right?

https://github.com/cad0p/maskrcnn-modanet/blob/master/maskrcnn_modanet/cli/main.py

Try on the console to import maskrcnn_modanet and see if it fails

cad0p commented

A possible solution is detailed in here:

jvrsantacruz/mp3hash#1 (comment)

Maybe check if it solves your problem and if yes, pull request!

It's very strange..

You should have this file, right?

https://github.com/cad0p/maskrcnn-modanet/blob/master/maskrcnn_modanet/cli/main.py

Try on the console to import maskrcnn_modanet and see if it fails

Yeah i have this file.. i tried to import maskrcnn-modanet from the python console and it is imported successfully

A possible solution is detailed in here:

jvrsantacruz/mp3hash#1 (comment)

Maybe check if it solves your problem and if yes, pull request!

I could not understand what this solution is trying to say ? Is there a way i can train from inside the python script since it is importing successfully there

I am facing the same issue on every linux machine i have tried so far

cad0p commented
cad0p commented

I ran pip install maskrcnn-modanet on a gcp instance with linux and i am facing this error whenever i try to run any command

Traceback (most recent call last): File "/home/ubuntu/anaconda3/envs/python3/bin/maskrcnn-modanet", line 7, in <module> from maskrcnn_modanet.cli.main import main ModuleNotFoundError: No module named 'maskrcnn_modanet.cli'

running this from console fails right?

python3
from maskrcnn_modanet.cli.main import main
main()

Yes. Same error

Python 3.7.3 (default, Mar 27 2019, 22:11:17) [GCC 7.3.0] :: Anaconda, Inc. on linux Type "help", "copyright", "credits" or "license" for more information. >>> from maskrcnn_modanet.cli.main import main Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'maskrcnn_modanet.cli' >>> import maskrcnn_modanet >>>

cad0p commented

ok I think I fixed it. let me know! f49f3ed

I think it is working now .. Thanks very much bro..

cad0p commented

Let me know how you'll use the program! I'll merge into main branch 👍

I will try to train a MaskRcnn model from your program. Thanks Again