Closed Ark-kun closed 1 year ago
@Ark-kun which auto ml tables model you are trying to convert ?
Hi tfjs-automl doesn't currently support tables models. https://github.com/tensorflow/tfjs/tree/2ef1c1c352843af8902e29a74b73b12417283182/tfjs-automl#installation so we could tag this as a feature request.
cc @rthadur (updated tags)
@Ark-kun The error you have shared seems to indicate that the model is generated with a previous version of TF (GraphDef version is too low). Will you be able to export your table model to saved model using TF 2.x?
Unfortunately AutoML refuses to export the model to any format other than tf_saved_model.
@Ark-kun The error you have shared seems to indicate that the model is generated with a previous version of TF (GraphDef version is too low). Will you be able to export your table model to saved model using TF 2.x?
I suspect the opposite. "TF_GRAPH_DEF_VERSION 440 // Updated: 2020/6/22" is TF 2.3.0 - the latest released version. While "TF_GRAPH_DEF_VERSION 518 // Updated: 2020/9/8" is not released yet.
@Ark-kun which auto ml tables model you are trying to convert ?
Please help me better understand the question. I've trained the model myself. I'm not sure AutoML gives me options (apart from the dataset and training time). The model is then exported as tf_saved_model as no other format works.
@Ark-kun I see the autoML is producing graph_def with the latest version of TensorFlow. You can try following, after you installed tensorflowjs pip,
Then try to convert the model again.
Hi, @Ark-kun
Apologize for the delayed response and we have updated our official documentation w.r.t TensorFlow.js converter
here and I would request you to please give it try with latest version of tensorflow 2.12.0
and tensorflowjs 4.4.0
and check whether your issue is resolving or not ? If issue still persists please let us know and please help us with TF saved model folder to replicate the issue from our end ?
Note: Frozen model is a deprecated format and support is added for backward compatibility purpose. Thank you!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you.
Closing as stale. Please @mention us if this needs more attention.
Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information
Describe the current behavior
I've exported an AutoML Tables model to TF saved model. Now I'm trying to convert the model to TF JS. I get the following error: Is there any way to convert this model?