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
Hi liyaguang,
I looked at the evaluate function in dcrnn_supervisor.py, where the real and predicted values are regularized. Can I print the image before line 271?
Hi liyaguang,
I looked at the evaluate function in dcrnn_supervisor.py, where the real and predicted values are regularized. Can I print the image before line 271?
y_truth = self._data['y_test'][:, :, :, 0] y_pred = y_preds[:y_truth.shape[0], :, :, 0] pyplot.title('test') pyplot.xlabel('Time range (min)') pyplot.ylabel(' Speed (km/h)') pyplot.plot(y_truth[:],label='true') pyplot.plot(y_pred[:],'r--',label='Prediction-DCRNN') pyplot.legend() pyplot.savefig('Figure-test.png', dpi=300) pyplot.show()
best wishes!
The text was updated successfully, but these errors were encountered: