tensorflow / models

Models and examples built with TensorFlow
Other
77.04k stars 45.77k forks source link

Pre-trained Object Detection models don't have any variables to export in the variables folder for TF2.x usage #8179

Open mankeyboy opened 4 years ago

mankeyboy commented 4 years ago

System information

Please provide the entire URL of the model you are using?

https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md Describe the current behavior Related issue: https://github.com/tensorflow/tensorrt/issues/178 TF2.x looks for variables from the variables folder to restore the model but this folder is empty in the pretrained models available for download. I have tried converting from the checkpoint given but it just creates an empty frozen graph. Describe the expected behavior A saved_model file + a variables folder should be created when using this. Code to reproduce the issue

Look at related issue Other info / logs

saberkun commented 4 years ago

https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md does not support TF 2.1 (?) Would you mind to use TF 1.15?

mankeyboy commented 4 years ago

@saberkun I know that but I'm trying to utilize the saved_model given in the tar file or get a saved_model from the training checkpoint and frozen graph given and none of those are able to provide me with a trained saved_model. Could you help me outline the steps I'd have to take to get to a trained saved_model?

saberkun commented 4 years ago

Object detection probject owners are: /research/object_detection/ @jch1 @tombstone @derekjchow @jesu9 @dreamdragon @pkulzc

Akashtyagi commented 4 years ago

Any updates on this ?