Skip to content

Instantly share code, notes, and snippets.

@sidneyarcidiacono
Created May 17, 2021 20:51
Show Gist options
  • Save sidneyarcidiacono/0916ceb8a93cdafd810af762aeab9505 to your computer and use it in GitHub Desktop.
Save sidneyarcidiacono/0916ceb8a93cdafd810af762aeab9505 to your computer and use it in GitHub Desktop.
Calling fit on our Spektral GCN
# Now we can train! We don't need to specify a batch size, since our loader is basically a generator
# But we do need to specify the steps_per_epoch parameter
model.fit(loader.load(), steps_per_epoch=loader.steps_per_epoch, epochs=10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment