[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session bundle and Frozen model formats have been deprecated in TensorFlow.js 1.0. How do I generate model comparable with new tfjs api? #50

Open
FateRiddle opened this issue Oct 24, 2019 · 1 comment

Comments

@FateRiddle
Copy link

Session bundle and Frozen model formats have been deprecated in TensorFlow.js 1.0.
So I guess

this.model = await loadFrozenModel(MODEL_FILE_URL, WEIGHT_MANIFEST_FILE_URL);

This doesn't work if I use the new api, loadGraphModel which seems to only accept the json file.

How do I make this cool game comparable with new api??

@jbruwer
Copy link
Collaborator
jbruwer commented Nov 5, 2019

Hi. Yes unfortunately the TensorFlow.js APIs have changed since we implemented this and loading a newer version of the library won't work. This code was created as an experiment as a way to help others learn about the potential of this technology. As much as we would love to re-align it for the new API we don't have dedicated resources to do that at this time.

That being said we value any contributions from the community and we will keep this issue open so we can track it and if anything changes we will post updates here.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants