shutil.SameFileError
naso06 opened this issue · 0 comments
naso06 commented
Hello!
I want to reprocess unrealego data.
but if i run reprocess_unrealego_data.py, I have an error.
Traceback (most recent call last):
File "reprocess_unrealego_data.py", line 187, in
reprocess_dataset(opt)
File "reprocess_unrealego_data.py", line 49, in reprocess_dataset
shutil.copyfile(os.path.join(opt.metadata_dir[0], file), os.path.join(opt.data_dir, file))
File "/home/anaconda3/envs/ego3dpose/lib/python3.7/shutil.py", line 104, in copyfile
raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: '/media/One Touch/UnrealEgo/UnrealEgoData/test.txt' and '/media/One Touch/UnrealEgo/UnrealEgoData/test.txt' are the same file