tiongleslie / 3D-C2FT

MIT License
11 stars 1 forks source link

broadcast error #3

Closed Chu-Orion closed 1 year ago

Chu-Orion commented 1 year ago

Sorry to bother you, I got the following error while running the code, how can I fix it? Traceback (most recent call last): File "eval.py", line 160, in <module> main(parse_arguments(sys.argv[1:])) File "eval.py", line 155, in main eval_our(config.our_dataset_path, model) File "eval.py", line 88, in eval_our imgs = eval_transforms(imgs) File "/root/3D-C2FT/data/data_transforms.py", line 30, in __call__ rendering_images = t(rendering_images) File "/root/3D-C2FT/data/data_transforms.py", line 57, in __call__ rendering_images -= self.mean ValueError: operands could not be broadcast together with shapes (0,) (3,) (0,)