Open 4e1e0603 opened 3 years ago
It is quite easy, you place a setup.py or setup.cfg (or pyproject.toml) in the project root folder. Now your project is installable and manageable. You can even define aliases for your subprograms and call them as
setup.py
setup.cfg
pyproject.toml
tecogan <flags>
instead of
python3 runGan.py 0
These imports are also problematic: from lib.dataloader import * It is better to define the project name and use absolute imports (don't use "stars" imports at all: https://stackoverflow.com/questions/2386714/why-is-import-bad).
from lib.dataloader import *
Many deep learning projects are top-notch in the sense of research but installing and using them is not an easy task.
Can I help with that?
It is quite easy, you place a
setup.py
orsetup.cfg
(orpyproject.toml
) in the project root folder. Now your project is installable and manageable. You can even define aliases for your subprograms and call them asinstead of
These imports are also problematic:
from lib.dataloader import *
It is better to define the project name and use absolute imports (don't use "stars" imports at all: https://stackoverflow.com/questions/2386714/why-is-import-bad).Many deep learning projects are top-notch in the sense of research but installing and using them is not an easy task.
Can I help with that?