sujiongming / UCF-101_video_classification

Classify UCF101 videos using one frame at a time with a CNN(InceptionV3)
195 stars 59 forks source link

move original file path error #4

Open xinyanliang opened 6 years ago

xinyanliang commented 6 years ago

Check if we have already moved this file, or at least that it

        # exists to move.

replace if not os.path.exists(filename): with if not os.path.exists(os.path.join('UCF-101',classname,filename)):

YuLengChuanJiang commented 4 years ago

that's right, but you also need replacing os.path.exists(os.path.join('UCF-101', classname, filename) with os.rename(os.path.join('UCF-101', classname, filename), dest) i think the author may make wrong uploading the .py file.