Problem: I meet a import error in morb/init.py when I excute 'from morb import base, units, parameters, stats, updaters, trainers, monitors'
I download all the code file.When I run the code , it raise the import error.
Then I change 'import base' to 'from . import base' in the morb/init.py . It do not raise import error.But it raise ModuleNotFoundError.
ImportError information:
File "D:mydir\example.py", line 1, in <module>
from morb import base, units, parameters, stats, updaters, trainers, monitors
File "D:mydir\morb\__init__.py", line 1, in <module>
import base
ImportError: No module named 'base'
ModuleNotFoundError information:
File "D:mydir\example.py", line 1, in <module>
from morb import base, units, parameters, stats, updaters, trainers, monitors
File "D:mydir\morb\__init__.py", line 7, in <module>
from .import updaters
File "D:mydir\morb\updaters.py", line 2, in <module>
import samplers
ModuleNotFoundError: No module named 'samplers'
Problem: I meet a import error in morb/init.py when I excute 'from morb import base, units, parameters, stats, updaters, trainers, monitors'