add Tensorboard + meanMetrics for training, actor3 processing

This commit is contained in:
Sen Liang committed 2022-04-03 00:28:50 +08:00
1 parent 33e5cb7584
commit ad93886668
36 files changed
+351 -214

No files matched your search

+3 -4
View File
@@ -7,11 +7,10 @@ from pathlib import Path
if __name__ == "__main__":
path_data = Path("/yrfs/lsen/DATA/Actor2/processing")
path_data = Path("/mfs/lsen/DATA/Actor3/processing")
v_dir_videos = sorted(path_data.glob("*"))
print(f"Have {len(v_dir_videos)} dir files")
# for each video
duration_frame, duration_coeff = 0, 0
for ipath_data in v_dir_videos:
@@ -51,11 +50,11 @@ if __name__ == "__main__":
if len(vframe_frame) != nframes:
print(f"\n ERROR: nframe_real ={len(vframe_frame)} / nframe_info ={nframes}")
# continue
continue
if len(vframe_coeff)+1 < nframes:
print(f"\n ERROR: nframe_coeff ={len(vframe_coeff)} / nframe_info ={nframes}")
# continue
continue
if ipath_save_exp.exists() and ipath_save_pos.exists():
print(f"ipath_save_exp have already save > {ipath_save_exp}")