-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shutil.SameFileError #4
Comments
Hm, are you using Windows? |
my dir2save is: |
I guess it might have something to do with Windows using "\" instead of "/" (as Ubuntu does) in paths. Does it create the dir2save folder? |
I've edited the line to: and this is the error: It does create a folder in TrainedModels/scream but it only contains parameter |
Please try |
I tried the the error is still: Nevermind, I missed a closing bracket, sorry. |
I also have the same problem .I use this way and it does work.thank you! |
Hi, I tried the command in the README file:
python main_train.py --gpu 0 --train_mode harmonization --train_stages 3 --min_size 120 --lrelu_alpha 0.3 --niter 1000 --batch_norm --input_name Images/Harmonization/scream.jpg
and it popped up an error:
Traceback (most recent call last): File "main_train.py", line 105, in <module> copyfile(py_file, osp.join(dir2save, py_file.split("/")[-1])) File "\Python\lib\shutil.py", line 104, in copyfile raise SameFileError("{!r} and {!r} are the same file".format(src, dst)) shutil.SameFileError: '\\ConSinGAN-master\\ConSinGAN-master\\evaluate_model.py' and '\\ConSinGAN-master\\ConSinGAN-master\\evaluate_model.py' are the same file
Please send help, thank you
The text was updated successfully, but these errors were encountered: