update run actor4data
This commit is contained in:
1 parent
7550ffe30f
commit
e6c668fef5
5 files changed
+27
-18
No files matched your search
@@ -7,7 +7,9 @@ from moviepy.editor import VideoFileClip, AudioFileClip
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
path_raw = Path("/ssdata1/cf/data/raw/20220422")
|
||||
# path_raw = Path("/ssdata1/cf/data/raw/20220422")
|
||||
path_raw = Path("/ssdata1/cf/data/raw/20220422/smile/")
|
||||
# path_raw = Path("/mfs/lsen/DATA/Actor4")
|
||||
path_root = Path("/mfs/lsen/DATA/Actor4")
|
||||
|
||||
vpath_videos = sorted(path_raw.glob("*.MP4"), reverse=True)
|
||||
@@ -16,15 +18,15 @@ if __name__ == '__main__':
|
||||
# IDs = ["clip_full"]
|
||||
durations = 0
|
||||
# for each video
|
||||
for i, ipath_item in enumerate(vpath_videos):
|
||||
for i, ipath_item in enumerate(vpath_videos[6:]):
|
||||
iname = ipath_item.stem
|
||||
print(f"processing {i}/{len(vpath_videos)} -> {ipath_item} ... ")
|
||||
|
||||
# if i < 40: continue
|
||||
# if iname not in IDs: continue
|
||||
|
||||
|
||||
# data path
|
||||
ipath_data = path_root.joinpath("processing", ipath_item.stem)
|
||||
ipath_data = path_root.joinpath("smile", ipath_item.stem)
|
||||
|
||||
ipath_frame = ipath_data.joinpath("frames")
|
||||
ipath_video = ipath_data.joinpath("video")
|
||||
|
||||
Reference in new issue
Block a user