Skip to content

Instantly share code, notes, and snippets.

@margaretmz
Last active July 13, 2020 04:31
Show Gist options
  • Save margaretmz/d9fb96bdb6bae50d139d5e9f600ff285 to your computer and use it in GitHub Desktop.
Save margaretmz/d9fb96bdb6bae50d139d5e9f600ff285 to your computer and use it in GitHub Desktop.
selfie2anime-save-model
tf.saved_model.simple_save(
sess,
saved_model_dir,
inputs={gan.test_domain_A.name: gan.test_domain_A},
outputs={gan.test_fake_B.name: gan.test_fake_B}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment