Skip to content

SavedModel load for tags { serve }; Status: fail: Not found #77

@nelsontseng0704

Description

@nelsontseng0704

I built the new version Autoflip successfully. However, when I use autoflip_graph_development.pbtxt to generate videos. It shows up the following error message:

2021-10-10 05:56:36.665131: E external/org_tensorflow/tensorflow/core/framework/op_kernel.cc:1623] OpKernel ('op: "ScaleAndTranslate" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_INT64 } } } host_memory_arg: "size" host_memory_arg: "scale" host_memory_arg: "translation"') for unknown op: ScaleAndTranslate
2021-10-10 05:56:36.665180: E external/org_tensorflow/tensorflow/core/framework/op_kernel.cc:1623] OpKernel ('op: "ScaleAndTranslate" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_UINT64 } } } host_memory_arg: "size" host_memory_arg: "scale" host_memory_arg: "translation"') for unknown op: ScaleAndTranslate
2021-10-10 05:56:36.665203: E external/org_tensorflow/tensorflow/core/framework/op_kernel.cc:1623] OpKernel ('op: "ScaleAndTranslateGrad" device_type: "CPU" constraint { name: "T" allowed_values { list { type: DT_FLOAT } } } host_memory_arg: "scale" host_memory_arg: "translation"') for unknown op: ScaleAndTranslateGrad
2021-10-10 05:56:36.665405: E external/org_tensorflow/tensorflow/core/framework/op_kernel.cc:1623] OpKernel ('op: "LookupTableInsertV2" device_type: "CPU"') for unknown op: LookupTableInsertV2
2021-10-10 05:56:36.706870: I external/org_tensorflow/tensorflow/cc/saved_model/loader.cc:289] SavedModel load for tags { serve }; Status: fail: Not found: Op type not registered 'VarHandleOp' in binary running on a7c33280c600. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) `tf.contrib.resampler` should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.. Took 602796 microseconds.
/tmp/fileoiJsRB
W20211010 05:56:36.954684    70 opencv_video_decoder_calculator.cc:230] Not all the frames are decoded (total frames: 397 vs decoded frames: 0).
E20211010 05:56:36.959918    70 simple_run_graph_main.cc:149] Failed to run the graph: CalculatorGraph::Run() failed in Run: 
Calculator::Open() for node "autoflipshotboundarydetectionsubgraph__TensorFlowSessionFromSavedModelCalculator" failed: Not found: Op type not registered 'VarHandleOp' in binary running on

I really did put all models in /mediapipe/models...

Really appreciate it if you know how to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions