Kernel Dying while plotting
in
Deep Learning with TensorFlow 2
/
Model layout - inputs, outputs, targets, weights, bias, optimizer, and loss
My kernel is dying while running this piece of code "
plt.plot(np.squeeze(model.predict_on_batch(training_data['inputs'])),np.squeeze(training_data['targets']))
plt.xlabel('outputs')
plt.ylabel('targets')
plt.show()"
Can you help me out with some answers.
1 answers ( 0 marked as helpful)
Upgrade your tensorflow with the latest release:
pip install --upgrade tensorflow