Open xinyanliang opened 6 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.
Check if we have already moved this file, or at least that it
replace if not os.path.exists(filename): with if not os.path.exists(os.path.join('UCF-101',classname,filename)):