RozDavid / UnScene3D

Unsupervised 3D Instance Segmentation
BSD 3-Clause "New" or "Revised" License
48 stars 6 forks source link

ModuleNotFoundError: No module named 'utils.transforms' #4

Closed hualuojingye closed 2 months ago

hualuojingye commented 5 months ago

When I run “scripts/eval/eval_all_datasets.sh”, I got the error about: Traceback (most recent call last): File "pseudo_masks/eval_freemask_gt_performance.py", line 7, in from datasets import load_dataset File "/home/Unscene3D/pseudo_masks/datasets/init.py", line 1, in from datasets import scannet, scannet_free, arkit, s3dis File "/home/Unscene3D/pseudo_masks/datasets/scannet.py", line 14, in from datasets.dataset import VoxelizationDataset, DatasetPhase, str2datasetphase_type File "/home/Unscene3D/pseudo_masks/datasets/dataset.py", line 18, in import utils.transforms as t ModuleNotFoundError: No module named 'utils.transforms' how can I solve this problem, thank you very much!

RozDavid commented 5 months ago

you'd have to add the root repo path to your python path. The module that the script is trying to import is available here.

RozDavid commented 2 months ago

did you managed to solve this? closing the issue for now as worked for others, but please feel free to reopen if still struggling.