Skip to content

run unscene3d_dino_2d3d.sh faild, FileNotFoundError: [Errno 2] No such file or directory: 'data/ScanNet/scannet_200_insseg/train.txt' #15

@IKAROS66

Description

@IKAROS66

I use the latest version of the code, and when I run unscene3d_dino_2d3d.sh, I still get an error: FileNotFoundError: [Errno 2] No such file or directory: 'data/ScanNet/scannet_200_insseg/train.txt'.

image

When I change the scannet_path in the configuration file pseudo_masks/config/default.yaml from a relative path to an absolute path, this error is not reported, but an error is reported: FileNotFoundError: [Errno 2] No such file or directory: 'constants/scannetv2-labels.combined.tsv', that is, the absolute path is: /media/ikaros/新加卷/test/UnScene3D-main/pseudo_masks/constants/scannet_constants.py, and it can't find the file again.

image

I tried to run the debug mode in unscene3d_pseudo_main.py to find the problem, and found that the original running directory was: '/media/ikaros/新加卷/test/UnScene3D-main', but when I ran the code, the directory became: '/media/ikaros/新加卷/test/UnScene3D-main/outputs/ScanNet_2cmDataset/Res16UNet34CMultiRes/Res16UNet34CMultiRes-cutler3d_CSC_DINO'. I think this is the reason why all places using relative paths have errors that the file cannot be found, but I don't know where in the code the running directory is modified. I tried to directly comment out the directory set for hydra in the configuration file, and it also gave an error. How can I ensure that the running directory is normal during the code running process and that I can find my preprocessed scannet data and other related files?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions