How to use IceVision without using from icevision.all import * #1116
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
good first issue
Good for newcomers
📓 Documentation Update
What part of documentation was unclear or wrong?
To me, it is unclear which imports are needed in order to use ice vision.
For instance, what is the import that is needed for the various models?
Describe the solution you'd like
I'd like a clear description and examples of how to get started without using a wildcard import (
from icevision.all import *
).Additional context
In our case, we cannot use a wildcard import because our code is running as part of a Kubeflow Pipelines.
Long story short, it means our code is being executed inside a function, this function is then deployed to a docker image and executed. There is no such thing as a top level import for us.
This means that we must use imports inside our main function, eg:
The following produces an error :
SyntaxError: import * only allowed at module level
The text was updated successfully, but these errors were encountered: