progressive-coordinate-transforms icon indicating copy to clipboard operation
progressive-coordinate-transforms copied to clipboard

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

Open rockywind opened this issue 2 years ago • 3 comments

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'

rockywind avatar Sep 07 '21 11:09 rockywind

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

Willy0919 avatar Sep 08 '21 02:09 Willy0919

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

rockywind avatar Sep 08 '21 03:09 rockywind

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

Willy0919 avatar Sep 08 '21 03:09 Willy0919