update write_video with ffmpeg

This commit is contained in:
sen.liang committed 2022-04-24 17:49:11 +08:00
1 parent 4d4015350c
commit 0d5689979f
8 files changed
+186 -173

No files matched your search

+2 -1
View File
@@ -147,7 +147,8 @@ if __name__ == "__main__":
plot_loss(visor, epoch+1, valid_loss_dict, suffix="valid")
################ upate learning rate by validataion
model.update_learning_rate(valid_loss_dict["all"])
if opt.TRAIN.apply_lr_scheduler:
model.update_learning_rate(valid_loss_dict["all"])
################# testing
if opt.TRAIN.apply_testing and (epoch+1) % opt.FREQ.epoch_test == 0: