Last answered:

10 Nov 2023

Posted on:

21 Jun 2023

0

Kernel Dying while plotting

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)
Posted on:

10 Nov 2023

0

Upgrade your tensorflow with the latest release:

pip install --upgrade tensorflow

Submit an answer