-
Notifications
You must be signed in to change notification settings - Fork 67
Closed
Labels
Description
pip install git+https://github.com/AllenCellModeling/pytorch_fnet.git
will install the base modules but does not install fnet.nn_modules
for instance.
import fnet
works and imports the module and the defined imports from its __init__.py
import fnet.nn_modules
fails due to two things:
-
setup.py
needs to usepackages=find_packages(exclude=['doc/*', 'docker/*', 'data/*', 'scripts/*', 'tests/*'])
-
Create an
__init__.py
file for thenn_modules
submodule, and for all submodules you want to include in the final package structured as so:
from . import fnet_nn_2d
from . import fnet_nn_3d
Discovered while trying to implement something similar to the predict.py
script in the base directory.