tfjs icon indicating copy to clipboard operation
tfjs copied to clipboard

Make TF-Hub module conversion TF 2.0 compatible

Open pyu10055 opened this issue 7 years ago • 2 comments

To get help from the community, we encourage using Stack Overflow and the tensorflow.js tag.

TensorFlow.js version

1.0.1

Browser version

Describe the problem or feature request

We are using tf.compat.v1 API for TF-Hub module conversion, we should migrate to TFHub latest API that eliminates the need for tf.compat.v1 api calls.

pyu10055 avatar Mar 13 '19 21:03 pyu10055

TensorFlow Hub's new format is now indeed the SavedModel 2.0 built into core TF2. Some modules can be already loaded by tf.saved_model.load (example: https://tfhub.dev/google/tf2-preview/mobilenet_v2/classification/2). Far from all of the modules are converted however. We are hoping to have a more general solution soon: a loader that would load Hub 1.0 modules into TF2.

I will update the bug when that happens (you can assign this to me).

vbardiovskyg avatar Mar 14 '19 10:03 vbardiovskyg

@pyu10055 You accidentally unassigned yourself and reassigned yourself instead of assigning @vbardiovskyg as requested.

TechnikEmpire avatar Apr 02 '20 22:04 TechnikEmpire