MCPcopy Create free account
hub / github.com/KeepTryingTo/Pytorch-GAN / draw

Function draw

Dropout_AutoEncoder/utils.py:41–46  ·  view source on GitHub ↗
(loss,epochs)

Source from the content-addressed store, hash-verified

39
40
41def draw(loss,epochs):
42 plt.plot(range(1,epochs + 1),loss,label = 'trainLoss')
43 plt.legend()
44 plt.title('AE-LOSS')
45 plt.savefig('logs/figure.png')
46 # plt.show()
47
48
49def save_checkPoint(model,optimizer,filename):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected