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

make generate error #9

Open
toedtli opened this issue Dec 12, 2018 · 0 comments
Open

make generate error #9

toedtli opened this issue Dec 12, 2018 · 0 comments

Comments

@toedtli
Copy link

toedtli commented Dec 12, 2018

I get an error

make generate
python utils/data.py
Traceback (most recent call last):
  File "utils/data.py", line 20, in <module>
    from .image import read_image, read_image_and_resize
ModuleNotFoundError: No module named '__main__.image'; '__main__' is not a package
Makefile:22: recipe for target 'generate' failed
make: *** [generate] Error 1

Which I "fixed" (?) by replacing

from .image import read_image, read_image_and_resize

by

from image import read_image, read_image_and_resize

in utils/data.py. I'm using python 3.6.7.
Thanks for sharing the code!

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

1 participant