Skip to content

Instantly share code, notes, and snippets.

@cadurosar
Last active August 4, 2023 22:19
Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save cadurosar/bd54c723c1d6335a43c8 to your computer and use it in GitHub Desktop.
Save cadurosar/bd54c723c1d6335a43c8 to your computer and use it in GitHub Desktop.
A interactive ipython notebook for: Keras plays catch - https://gist.github.com/EderSantana/c7222daa328f0e885093
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Guidosalimbeni
Copy link

Guidosalimbeni commented Nov 20, 2018

I got this error message in line
-> 166 loss += model.train_on_batch(inputs, targets)[0]
invalid index to scalar variable.

I am using Python 3 on window anaconda .. TensorFlow backend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment