Comments (9)
import tensorflowjs as tfjs
tfjs.converters.save_keras_model(dummy_model, "out/")
works without error
from tfjs.
Hi, @smidm
I apologize for the delay in responding, I was trying to replicate the same issue from my end and I'm able to reproduce the same behaviour from my end but I see you're saving your model in Keras HDF5 model (.h5)
format for that you'll have to use this command !tensorflowjs_converter --input_format=keras model.h5 out/
insead of tensorflowjs_converter --input_format=keras_saved_model model.h5 out/
, I tried from my end it seems like working as expected for your reference I have added gist-file here please refer our official documentation of tfjs_conveter
If I have missed something here please let me know. Thank you for your cooperation and patience.
from tfjs.
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
from tfjs.
Thanks, the fixed input format works for me also. I was confused by the input format options. There are currently 3 keras related: keras_saved_model
, keras_keras
, keras
. The keras_keras
is nowhere documented. This options combined with tfjs
not supporting the new default .keras
format was hell to navigate. Some consistency checks on the input would be greatly beneficial.
from tfjs.
What about adding a link to https://github.com/tensorflow/tfjs/tree/master/tfjs-converter to tensorflowjs_converter --help
?
from tfjs.
Hi, @smidm
Thank you for your suggestion regarding to add a link https://github.com/tensorflow/tfjs/tree/master/tfjs-converter to tensorflowjs_converter --help
. I appreciate you bringing this to our attention.
I will be sure to share your feedback during our next internal meeting. The team will discuss it and take appropriate action if necessary.
If your issue has been resolved, please feel free to close this issue.
Thank you for your cooperation and patience.
from tfjs.
This issue has been marked stale because it has no recent activity since 7 days. It will be closed if no further activity occurs. Thank you.
from tfjs.
Hi, @smidm
We haven't got confirmation from your end so now I'm closing this issue and I'll keep this issue open #8266 for further update regarding to add a link https://github.com/tensorflow/tfjs/tree/master/tfjs-converter to tensorflowjs_converter --help
Thank you for your understanding and patience.
from tfjs.
Are you satisfied with the resolution of your issue?
Yes
No
from tfjs.
Related Issues (20)
- Can you guide on how to load model (model.json and group1-shard1of1.bin files) which are downloaded to Documents Directory in iOS and internal app storage folder in Android ? HOT 5
- npm install @tensorflow/tfjs-node error HOT 7
- Cannot import TFJS-Node HOT 5
- memory leak (core dumped) problem in tfjs-node HOT 7
- Error: Kernel 'Draw' not registered for backend 'custom-webgl2' at Engine.runKernel at Module.draw HOT 5
- Face Detection not defined HOT 4
- GPU setup guide HOT 4
- @tensorflow/tfjs-react-native can't be installed successfully expo 51 HOT 9
- T5 Text-to-Text Transformer
- React Native Tensorflow with own models not working HOT 3
- webgpu gpu-pipeline example crashes tab HOT 2
- Converting Model Saved by tfjs-react-native to Keras or Saved Model
- Error during training HOT 5
- tf.data.array() cannot consume a Tensor, despite the documentation claiming so HOT 2
- Tensorflowjs for python not working (conflicting libraries) HOT 2
- Getting started example not resilient to growing the training data beyond x=25 HOT 5
- BlazePose doesn't work in Firefox for Android HOT 1
- Problem Converting tensorflow garden model in format of Tensorflow Saved Model to a Web Model with tensorflowjs HOT 4
- Node js doenst recognize the module with node version 20.14 HOT 1
- memory leak (core dumped) problem in tfjs-node HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfjs.