Vermeille / Torchelie

Torchélie is a set of utility functions, layers, losses, models, trainers and other things for PyTorch.
https://torchelie.readthedocs.org/
MIT License
111 stars 11 forks source link

Fix chained imports mess / hell (will get rid of both F403 and F405) #49

Open Horgix opened 3 years ago

Horgix commented 3 years ago

Currently, there are a lot star (*) imports everywhere in submodules. This makes it pretty impossible to detect things that are imported and but are unused (inside modules, of course publicly the idea is to expose things), but also things that are actually needed and not imported (because maybe they are behind * imports, who knows?)

Going over all of this will take a bit of time though