You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Epoch 89999 Loss: 0.245816 Average L1 error: 0.491549 Accuracy: 0.530000
Epoch 99999 Loss: 0.245776 Average L1 error: 0.491502 Accuracy: 0.526667
C:\Program Files\Python37\lib\site-packages\matplotlib\pyplot.py:514: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot
interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.m
ax_open_warning`).
max_open_warning, RuntimeWarning)
Epoch 109999 Loss: 0.245730 Average L1 error: 0.491455 Accuracy: 0.533333
Epoch 119999 Loss: 0.245671 Average L1 error: 0.491410 Accuracy: 0.536667
Reason:
Duplicate plt.figure() in utils.py - plot_function().
Origin code:
def plot_function(losses, save_filepath=None, ylabel=None, title=None):
plt.figure()
t = [x[0] for x in losses]
loss = [x[1] for x in losses]
plt.figure()
plt.plot(t, loss, 'b')
Working code:
def plot_function(losses, save_filepath=None, ylabel=None, title=None):
# plt.figure()
t = [x[0] for x in losses]
loss = [x[1] for x in losses]
plt.figure()
plt.plot(t, loss, 'b')
The text was updated successfully, but these errors were encountered:
Error:
Reason:
Duplicate
plt.figure()
in utils.py - plot_function().Origin code:
Working code:
The text was updated successfully, but these errors were encountered: