conversationai / conversationai-models

A repository to house model building experiments and tools that are part of the Conversation AI effort.
Apache License 2.0
137 stars 45 forks source link

Tensorflow js conversion blocked by unsupported ops #222

Open sorensenjs opened 5 years ago

sorensenjs commented 5 years ago

The char model when converted

tensorflowjs_converter --output_node_names='frac_neg/predictions/probabilities' --input_format=tf_saved_model experiments/tf_char _cnn_local_model_dir/100000/1545431873/ experiments/tf_char_cnn_local_model_dir/100000/tfjs/

produces the following:

ValueError: Unsupported Ops in the model before optimization DecodeRaw, ParseExample, StringSplit

sorensenjs commented 5 years ago

Looking at ops missing in the current tf hub based model:

ParseExample, LookupTableFindV2, RegexReplace, HashTableV2, DynamicPartition, SparseSegmentSqrtN, StringToHashBucketFast, ParallelDynamicStitch, StringJoin, LookupTableSizeV2, Unique, SparseFillEmptyRows, StringSplit