Errors when run example
MisakaMikt opened this issue · 2 comments
Could you try running from root dir? eg. python3 -m examples.run_fbnet_v2
as shown in https://github.com/facebookresearch/mobile-vision/blob/main/examples/run_fbnet_v2.py#L8
Could you try running from root dir? eg.
python3 -m examples.run_fbnet_v2
as shown in https://github.com/facebookresearch/mobile-vision/blob/main/examples/run_fbnet_v2.py#L8
Thank you. Now this example works. For this example, it seems that I misunderstood the difference between running scripts and running modules in Python.
To use it in my code, I directly copy the mobile_cv folder to my project and add its path to PYTHONPATH
.
However, it seems that the previous installation did not work. I'v tried to learn about module installation or package import rules in Python, but didn't find a solution for that. Do you have any suggestions?
In a word, although the installation seems unsuccessful, I can use it now. Thanks a lot.