Minoday commited on
Commit
49153cc
·
verified ·
1 Parent(s): 7b7dd07

Delete checkpoints/nothing.py

Browse files
Files changed (1) hide show
  1. checkpoints/nothing.py +0 -10
checkpoints/nothing.py DELETED
@@ -1,10 +0,0 @@
1
- with open('train_sim.txt', 'r', encoding='utf-8') as f:
2
- lines = f.readlines()
3
-
4
- with open('train_img_sim.txt', 'w', encoding='utf-8') as f:
5
- for line in lines:
6
- # 移除换行符并处理字符串
7
- new_line = line.strip().replace('videos/', 'first_frames/').replace('.mp4', '.png')
8
- f.write(new_line + '\n')
9
-
10
- print("转换完成。")