Skip to content
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

Error: No module named src.single_digit.svhn #1

Open
MitraTj opened this issue Jun 20, 2018 · 2 comments
Open

Error: No module named src.single_digit.svhn #1

MitraTj opened this issue Jun 20, 2018 · 2 comments

Comments

@MitraTj
Copy link

MitraTj commented Jun 20, 2018

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

@pitsios-s
Copy link
Owner

Hello,

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.

@yunshangyue71
Copy link

hello , have you ever tested your model .when I training my model, it not convergence。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants