Skip to content

Classification recipe raises a RuntimeWarning related to imports #71

@Horgix

Description

@Horgix

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions