update audio2mesh with write_video, remove from path_raw
This commit is contained in:
1 parent
0d5689979f
commit
7fb22e4750
15 files changed
+302
-245
No files matched your search
@@ -110,7 +110,8 @@ if __name__ == "__main__":
|
||||
train_metric.reset()
|
||||
if opt.TRAIN.apply_update_parameters:
|
||||
model.update_parameters(epoch)
|
||||
|
||||
model.update_learning_rate()
|
||||
|
||||
for i, ibatch_data in enumerate(train_loader):
|
||||
|
||||
train_loss_dict = model.training(ibatch_data, epoch, i) # forward and backward
|
||||
@@ -147,8 +148,8 @@ if __name__ == "__main__":
|
||||
plot_loss(visor, epoch+1, valid_loss_dict, suffix="valid")
|
||||
|
||||
################ upate learning rate by validataion
|
||||
if opt.TRAIN.apply_lr_scheduler:
|
||||
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:
|
||||
|
||||
Reference in new issue
Block a user