You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run python train.py
Traceback (most recent call last):
File "train.py", line 19, in
from torchcv.models.fpnssd import FPNSSD512
ModuleNotFoundError: No module named 'torchcv'
The text was updated successfully, but these errors were encountered:
Yeah that will come because the directory containing torchcv is not a part of your system path. You can add it as follows:
import sys
sys.path.insert(0, "path_to_the_directory_containing_torchcv")
It will work now, you can check the directories added by "print(sys.path)"
You might need to add some more paths as you run the code.
When I run python train.py
Traceback (most recent call last):
File "train.py", line 19, in
from torchcv.models.fpnssd import FPNSSD512
ModuleNotFoundError: No module named 'torchcv'
The text was updated successfully, but these errors were encountered: