amazon-science / progressive-coordinate-transforms

Progressive Coordinate Transforms for Monocular 3D Object Detection, NeurIPS 2021
Apache License 2.0
64 stars 10 forks source link

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

Open rockywind opened 3 years ago

rockywind commented 3 years ago

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 commented 3 years ago

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

rockywind commented 3 years ago

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 commented 3 years ago

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