Na-Z / attMPTI

[CVPR 2021] Few-shot 3D Point Cloud Semantic Segmentation
MIT License
166 stars 31 forks source link

eval_attMPTI.sh #18

Closed Chengyuelan closed 2 years ago

Chengyuelan commented 2 years ago

when I was training the 'eval_attMPTI.sh' file, something went wrong:I would be very grateful for your solution.Thanks! (attMPTI17) excellence@cyy:~/attMPTI-main$ bash /home/attMPTI-main/scripts/eval_attMPTI.sh /home/attMPTI-main/scripts/eval_attMPTI.sh: line 14: SURE: command not found Traceback (most recent call last): File "main.py", line 112, in eval(args) File "/home/attMPTI-main/runs/eval.py", line 102, in eval logger = init_logger(args.log_dir, args) File "/home/attMPTI-main/utils/logger.py", line 34, in init_logger mkdir(log_dir) File "/home/attMPTI-main/utils/logger.py", line 22, in mkdir os.makedirs(path) File "/home/anaconda3/envs/attMPTI17/lib/python3.8/os.py", line 223, in makedirs mkdir(name, mode) FileNotFoundError: [Errno 2] No such file or directory: ''

siddharthKatageri commented 2 years ago

Hi @Chengyuelan, I got the same error while running. The issue is log_dir gets an empty string. In eval_MPTI.sh remove the comment in front of MODEL_CHECKPOINT in line 14. Doing this resolved the issue for me.

Na-Z commented 2 years ago

The problem is fixed. Pls check the latest version.