Skip to content

Commit

Permalink
Update train_second.py
Browse files Browse the repository at this point in the history
  • Loading branch information
devidw authored Dec 8, 2023
1 parent 1ece0a3 commit b4651a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion train_second.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import librosa
import click
import shutil
import traceback
import warnings
warnings.simplefilter('ignore')
from torch.utils.tensorboard import SummaryWriter
Expand Down Expand Up @@ -669,7 +670,9 @@ def main(config_path):
loss_f += (loss_F0).mean()

iters_test += 1
except:
except Exception as e:
print(f"run into exception", e)
traceback.print_exc()
continue

print('Epochs:', epoch + 1)
Expand Down

0 comments on commit b4651a4

Please sign in to comment.