tensorflow / models

Models and examples built with TensorFlow
Other
77.22k stars 45.75k forks source link

Warnings when exporting a fine tuned model from TensorFlow Object Detection API. #9491

Open fbens47 opened 4 years ago

fbens47 commented 4 years ago

Prerequisites

Please answer the following questions for yourself before submitting an issue.

1. The entire URL of the file you are using

https://github.com/tensorflow/models/tree/master/research/object_detection/exporter_main_v2.py label_map_github_issue.txt pipeline_github_issue.txt

2. Describe the bug

When exporting fine-tuned model (EfficientDet and MobileNet), I got Warnings / Info telling me: WARNING:tensorflow:Skipping full serialization of Keras layer <object_detection.meta_architectures.ssd_meta_arch.SSDMetaArch object at 0x7f28c027c9e8>, because it is not built. W1121 16:00:38.569402 139816344586048 save_impl.py:78] Skipping full serialization of Keras layer <object_detection.meta_architectures.ssd_meta_arch.SSDMetaArch object at 0x7f28c027c9e8>, because it is not built.

Or: INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x7f27f8886dd8>, TensorSpec(shape=(None, 64, 64, 40), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x7f27f8886e48>, TensorSpec(shape=(None, 32, 32, 112), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x7f27f8886e10>, TensorSpec(shape=(None, 16, 16, 320), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}).

I really do not know their meaning. I got these errors in tf2.5 from source and tf2.3 binary.

warning_report_github.txt

3. Steps to reproduce

With trained model: from TensorFlow/models/research/: python object_detection/exporter_main_v2.py --input_type="image_tensor" --pipeline_config_path=$MODEL_DIR/pipeline.config --trained_checkpoint_dir=$MODEL_DIR --output_directory=$OUT

5. Additional context

See attached files.

After using exporter_main_v2.py, I tried to use https://github.com/opencv/opencv/tree/master/samples/dnn/tf_text_graph_efficientdet.py (I had to make some changes in order to ensure the compability with tf2). python path/to/tf_text_graph-efficientdet.py --input=./folder/saved_model.pb --output=./opencv_friendly/ --num_classes=1 it outputs:

2020-11-21 17:06:27.032604: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.10.1
Traceback (most recent call last):
  File "/path_to/dnn_utils/tf_text_graph_common.py", line 312, in write_text_graph
    cv.dnn.writeTextGraph(model_path, output_path)
cv2.error: OpenCV(4.4.0) /tmp/pip-req-build-hw4jq8lf/opencv/modules/dnn/src/tensorflow/tf_io.cpp:42: error: (-2:Unspecified error) FAILED: ReadProtoFromBinaryFile(param_file, param). Failed to parse GraphDef file: ./abo/frozen/saved_model/saved_model.pb in function 'ReadTFNetParamsFromBinaryFileOrDie'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "tf_text_graph_efficientdet.py", line 236, in <module>
    args.anchor_scale, args.num_classes, args.width, args.height)
  File "tf_text_graph_efficientdet.py", line 49, in createGraph
    write_text_graph(modelPath, outputPath, outNames)
  File "/home/neuro/PycharmProjects/Network/dnn_utils/tf_text_graph_common.py", line 319, in write_text_graph
    graph_def.ParseFromString(f.read())
google.protobuf.message.DecodeError: Error parsing message

6. System information

SamLee514 commented 4 years ago

I've seen similar messages when exporting models as well. However, the models end up working as expected when I run inference, so it shouldn't be a big deal (TF does tend to be rather verbose with its warnings). Have you running the model without 3rd party tools? I know you mentioned making changes to the opencv script to ensure TF2 compatibility, but I've only seen the "Failed to parse GraphDef file" + "google.protobuf.message.DecodeError: Error parsing message" combo when I've tried loading a TF2 model using a script that expected a TF1 frozen graph.

fbens47 commented 4 years ago

The only changes I made were the use tf.io instead of tf.python_io from tfv1. But now, I tested on pre-trained (i.e: directly from Object detection zoo) and I got the same errors. I'll give a Try for inference without third party tools. But I'll need cv::Net::readNetFromTensorflow... Plus, in tensorflow from source (2.5). The bazel command bazel-bin/tensorflow/tools/graph_transforms/summarize_graph (as graph_transform) fails.

SamLee514 commented 4 years ago

Hm, I'm not familiar with the built-from-source version, unfortunately. But you should be able to evaluate your models without a hitch in 2.3 at least (the colab notebooks are especially helpful here).

fbens47 commented 4 years ago

Actually, the TF2 models don't work for now with OpenCV.

rlm96 commented 3 years ago

I have same problem. In the inference process it fails the detection assigning random classes to objects that don´t belong to that class (i.e. in a chess dataset assigning queen and king to towers).

Amarnathde commented 3 years ago

I have the same problem: WARNING:tensorflow:Skipping full serialization of Keras layer <object_detection.meta_architectures.ssd_meta_arch.SSDMetaArch object at 0x164dedc50>, because it is not built. [02/04 11:11:58] tensorflow WARNING: Skipping full serialization of Keras layer <object_detection.meta_architectures.ssd_meta_arch.SSDMetaArch object at 0x164dedc50>, because it is not built. 2021-02-04 11:13:25.797173: W tensorflow/python/util/util.cc:348] Sets are not currently considered sequences, but this may change in the future, so consider avoiding using them. WARNING:tensorflow:From /Users/amarnathde/Documents/tf12/lib/python3.7/site-packages/tensorflow/python/training/tracking/tracking.py:111: Layer.updates (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version. [02/04 11:13:27] tensorflow WARNING: From /Users/amarnathde/Documents/tf12/lib/python3.7/site-packages/tensorflow/python/training/tracking/tracking.py:111: Layer.updates (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version. Instructions for updating: Instructions for updating: This property should not be used in TensorFlow 2.0, as updates are applied automatically.This property should not be used in TensorFlow 2.0, as updates are applied automatically. WARNING:tensorflow:From /Users/amarnathde/Documents/tf12/lib/python3.7/site-packages/tensorflow/python/training/tracking/tracking.py:111: Model.state_updates (from tensorflow.python.keras.engine.training) is deprecated and will be removed in a future version. Instructions for updating: This property should not be used in TensorFlow 2.0, as updates are applied automatically. [02/04 11:13:27] tensorflow WARNING: From /Users/amarnathde/Documents/tf12/lib/python3.7/site-packages/tensorflow/python/training/tracking/tracking.py:111: Model.state_updates (from tensorflow.python.keras.engine.training) is deprecated and will be removed in a future version. Instructions for updating: This property should not be used in TensorFlow 2.0, as updates are applied automatically. INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:12] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:12] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:12] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:12] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:32] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:32] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:32] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:32] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:32] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:32] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:48] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:48] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:48] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:48] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:49] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:49] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:49] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:49] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:14:49] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:14:49] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:15:12] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7a58>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7b00>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728b7d68>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:15:12] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abba8>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abc50>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x1728abeb8>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). [02/04 11:15:12] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17710>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f176a0>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x171f17400>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], True), {}). INFO:tensorflow:Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). [02/04 11:15:12] tensorflow INFO: Unsupported signature for serialization: (([(<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408a20>, TensorSpec(shape=(None, 96, 96, 48), dtype=tf.float32, name='feature_pyramid/0/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408ac8>, TensorSpec(shape=(None, 48, 48, 120), dtype=tf.float32, name='feature_pyramid/1/1')), (<tensorflow.python.framework.func_graph.UnknownArgument object at 0x172408d30>, TensorSpec(shape=(None, 24, 24, 352), dtype=tf.float32, name='feature_pyramid/2/1'))], False), {}). INFO:tensorflow:Assets written to: /Users/amarnathde/Documents/trainedModels/cnn4Models/1612416600/assets [02/04 11:15:16] tensorflow INFO: Assets written to: /Users/amarnathde/Documents/trainedModels/cnn4Models/1612416600/assets

Nannigalaxy commented 3 years ago

Any solution yet?

Trajanson commented 3 years ago

following