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
Hi,
When I run cnn.py I get this error:
Traceback (most recent call last):
File "cnn.py", line 7, in
from src.single_digit.svhn import SVHN
ImportError: No module named src.single_digit.svhn
The text was updated successfully, but these errors were encountered:
If you intend to run the program from a console, then you can just remove the src reference in the import statement in file cnn.py (from single_digit.svhn import SVHN). Then from inside the single_digit directory run the script normally with python cnn.py.
In my case I was running the code from IntelliJ, so a "different" structure was required. If you try the fix above, please let me know if it worked for you.
Hi,
When I run cnn.py I get this error:
Traceback (most recent call last):
File "cnn.py", line 7, in
from src.single_digit.svhn import SVHN
ImportError: No module named src.single_digit.svhn
The text was updated successfully, but these errors were encountered: