GantMan / nsfw_model

Keras model of NSFW detector
Other
1.8k stars 279 forks source link

Error: Running model failed: Not found: FetchOutputs node dense_3: not found #16

Closed meetmorrowsolonmars closed 5 years ago

meetmorrowsolonmars commented 5 years ago

I run your model with https://github.com/reneweb/react-native-tensorflow. I got this error message "Error: Running model failed: Not found: FetchOutputs node dense_3: not found". Could you help me?

GantMan commented 5 years ago

Sure. Is your code open source? If not I have a react-native-tensorflow example codebase I could use, but I figured it would be best to directly use the source you're using.

meetmorrowsolonmars commented 5 years ago

I solved this issue. I found the output layer with this tool https://github.com/tensorflow/tensorflow/tree/master/tensorflow/tools/graph_transforms#inspecting-graphs.