Skip to content
This repository was archived by the owner on Oct 17, 2021. It is now read-only.

A few improvements re. Model serialization #157

Merged
merged 6 commits into from
Apr 30, 2018

Conversation

caisq
Copy link
Contributor

@caisq caisq commented Apr 27, 2018

  • Use original weight names throughout weights loading and saving
  • Upgrade tfjs-core version to 0.8.5 and
    change tf.loadWeights to tf.io.loadWeights.
  • Add returnString optional arg to Container.toJSON(), so that
    a JSON object, instead of a JSON string, can be requested.
  • Add tfjs-layers verison number to keras_version of model JSON

Also in this CL:

  • Update TypeScript to the latest version.

Towards: tensorflow/tfjs#13

This change is Reviewable

@caisq caisq changed the title Use original weight names throughout weights loading and saving [WIP] Use original weight names throughout weights loading and saving Apr 27, 2018
* Use original weight names throughout weights loading and saving
* Upgrade tfjs-core version to 0.8.5 and
  change `tf.loadWeights` to `tf.io.loadWeights`.
* Add returnString optional arg to Container.toJSON(), so that
  a JSON object, instead of a JSON string, can be requested.
* Add tfjs-layers verison number to keras_version of model JSON
@caisq caisq changed the title [WIP] Use original weight names throughout weights loading and saving A few improvements re. Model serialization Apr 27, 2018
@caisq caisq force-pushed the model-save-prep branch from 595f87e to 8e6a9ed Compare April 27, 2018 17:07
@bileschi
Copy link
Contributor

:lgtm_strong:


Review status: 0 of 6 files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@caisq caisq merged commit 8049848 into tensorflow:master Apr 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants