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

Classification recipe raises a RuntimeWarning related to imports #71

Open
Horgix opened this issue May 21, 2021 · 0 comments
Open

Classification recipe raises a RuntimeWarning related to imports #71

Horgix opened this issue May 21, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Horgix
Copy link
Collaborator

Horgix commented May 21, 2021

When running the Classification recipe hello-world as per the README, the first line to be printed is a RunTimeWarning about an unpredictable behavior related to imports:

/usr/lib/python3.9/runpy.py:127: RuntimeWarning: 'torchelie.recipes.classification' found in sys.modules after import of package 'torchelie.recipes', but prior to execution of 'torchelie.recipes.classification'; this may result in unpredictable behaviour
  warn(RuntimeWarning(msg))
@Horgix Horgix added the bug Something isn't working label May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant