SuGaR icon indicating copy to clipboard operation
SuGaR copied to clipboard

OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\ruibm\\Desktop\\SugerTests\\sugarfine_C:'

Open ruim opened this issue 1 year ago • 4 comments

Hello

when running train.py it eventually runs into this issue:

Traceback (most recent call last):
  File "C:\work\tekuchi\SuGaR-main\train.py", line 170, in <module>
    refined_sugar_path = refined_training(refined_args)
  File "C:\work\tekuchi\SuGaR-main\sugar_trainers\refine.py", line 319, in refined_training
    os.makedirs(sugar_checkpoint_path, exist_ok=True)
  File "C:\Users\ruibm\miniconda3\envs\sugar\lib\os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "C:\Users\ruibm\miniconda3\envs\sugar\lib\os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  File "C:\Users\ruibm\miniconda3\envs\sugar\lib\os.py", line 215, in makedirs
    makedirs(head, exist_ok=exist_ok)
  [Previous line repeated 7 more times]
  File "C:\Users\ruibm\miniconda3\envs\sugar\lib\os.py", line 225, in makedirs
    mkdir(name, mode)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\\Users\\ruibm\\Desktop\\SugerTests\\sugarfine_C:'

not really sure why it happens nor how to fix it. Would appreciate any help

Thanks

ruim avatar Apr 02 '24 17:04 ruim

Is this problem solved

U1F332 avatar Oct 04 '24 08:10 U1F332

用linux

SheepJeffery avatar Mar 04 '25 15:03 SheepJeffery

不知道他们能不能做一下windows的适配。

U1F332 avatar Mar 04 '25 15:03 U1F332