This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove .lst before rename in im2rec.py (#3958)
fout should be closed before doing anything, if it is not "WindowsError: [Error 32]" will occur. fname should be removed before renaming fname+".tmp" to fname, if it is not "WindowsError: [Error 183]" will occur. But why here must rewrite the lst file? PS, My OS is Windows 10.
- Loading branch information