Skip to content

Commit

Permalink
project deliverables
Browse files Browse the repository at this point in the history
  • Loading branch information
dysdsyd committed Apr 28, 2020
1 parent 2990a24 commit aff2bb8
Show file tree
Hide file tree
Showing 12 changed files with 208,731 additions and 881 deletions.
410 changes: 0 additions & 410 deletions Eval.ipynb

This file was deleted.

208,728 changes: 208,728 additions & 0 deletions data/Eval.ipynb

Large diffs are not rendered by default.

File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
246 changes: 0 additions & 246 deletions train.py

This file was deleted.

2 changes: 1 addition & 1 deletion train_p2m_gan.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
print("===> Epoch[{}]: Loss_D: {:.4f} Loss_G: {:.4f} Loss_Recon: {:.4f}".format(epoch, np.mean(D_losses), np.mean(G_losses), np.mean(trn_losses)))
print("===> Epoch[{}]: Valid Loss: {:.4f}".format(epoch, np.mean(val_losses)))
tb.add_scalar('data/Loss_G', np.mean(G_losses), epoch)
tb.add_scalar('data/loss_D', np.mean(D_losses), epoch)
tb.add_scalar('data/Loss_D', np.mean(D_losses), epoch)
tb.add_scalar('data/Training_loss', np.mean(trn_losses), epoch)
tb.add_scalar('data/Validation_Loss', np.mean(val_losses), epoch)

Expand Down
4 changes: 2 additions & 2 deletions train_p2m_randgan.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,8 @@


print("===> Epoch[{}]: Loss_D: {:.4f} Loss_G: {:.4f} Loss_Recon: {:.4f}".format(epoch, np.mean(D_losses), np.mean(G_losses), np.mean(trn_losses)))
tb.add_scalar('data/loss_G', np.mean(G_losses), epoch)
tb.add_scalar('data/loss_D', np.mean(D_losses), epoch)
tb.add_scalar('data/Loss_G', np.mean(G_losses), epoch)
tb.add_scalar('data/Loss_D', np.mean(D_losses), epoch)
# tb.add_scalar('data/loss_E', np.mean(E_losses), epoch)
tb.add_scalar('data/Training_loss', np.mean(trn_losses), epoch)
tb.add_scalar('data/Validation_Loss', np.mean(val_losses), epoch)
Expand Down
Loading

0 comments on commit aff2bb8

Please sign in to comment.