patlevin / tfjs-to-tf

A TensorFlow.js Graph Model Converter
MIT License
139 stars 18 forks source link

Toxicity model cannot be converted #21

Closed patlevin closed 4 years ago

patlevin commented 4 years ago

I have a somewhat "similar" problem trying to convert the toxicity model: https://tfhub.dev/google/openimages_v4/ssd/mobilenet_v2/1 I wonder if this is related `tfjs_graph_converter tftox model.pb TensorFlow.js Graph Model Converter

Graph model: tftox Output: model.pb Target format: tf_frozen_model

Converting.... Error: Input 1 of node module_apply_default/Encoder_en/KonaTransformer/ClipToMaxLength/Less was passed int32 from Const_56:0 incompatible with expected int64.`

Originally posted by @elivasquezhdz in https://github.com/patlevin/tfjs-to-tf/issues/19#issuecomment-691751535