add FaceFormer

This commit is contained in:
liangsen committed 2022-07-14 19:21:09 +08:00
1 parent a7cd20b689
commit b0bb5de24b
6 files changed
+1116 -4

No files matched your search

@@ -36,7 +36,6 @@ if __name__ == "__main__":
ipath_vis = path_vis.joinpath(f"{iname}_vis.mp4")
ipath_json = path_json.joinpath(f"{iname}_wholepose.json")
cmd = f"CUDA_VISIBLE_DEVICES=9 \
python -m openpifpaf.video \
--source={ipath_item} \
@@ -15,8 +15,6 @@ if __name__ == "__main__":
path_video = path_root.joinpath(fname, "video")
path_video.mkdir(parents=True, exist_ok=True)
# path_peaks = path_video.joinpath("reference_peaks.txt") # SSIM-based
path_peaks = path_video.joinpath("reference_peaks_landmarks.txt") # Landmark based
vpeaks = np.loadtxt(path_peaks, dtype=int)