Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError: No module named 'lib.helpers.decorator_helper_level' #7

Open
rockywind opened this issue Sep 7, 2021 · 3 comments

Comments

@rockywind
Copy link

When I run python ../../tools/train_val.py --config config_val.yaml,
I get the error as follow.

Traceback (most recent call last):
File "../../tools/train_val.py", line 19, in
from lib.helpers.trainer_helper import Trainer
File "/newnfs/zzwu/08_3d_code/progressive-coordinate-transforms/lib/helpers/trainer_helper.py", line 11, in
from lib.helpers.decorator_helper_level import decorator_level
ModuleNotFoundError: No module named 'lib.helpers.decorator_helper_level'

Willy0919 added a commit to Willy0919/progressive-coordinate-transforms that referenced this issue Sep 8, 2021
bryanyzhu added a commit that referenced this issue Sep 8, 2021
@Willy0919
Copy link
Contributor

Sorry for the bugs, you can delete the related row (line 11 and 26). Or update the trainer_helper.py from our git.

@rockywind
Copy link
Author

But the self.val_decorator is call in the following code.
loss, stat_dict = self.val_decorator(self.model, batch_data, self.cfg['decorator'])

@Willy0919
Copy link
Contributor

We do not call the function eval_one_epoch_1(), this function is my debug code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants