models icon indicating copy to clipboard operation
models copied to clipboard

INFO:tensorflow:Saver not created because there are no variables in the graph to restore issue when running object_detection_tutorial.ipynb

Open weila312 opened this issue 6 years ago • 26 comments

Exactly following the notebook instruction, but get INFO:tensorflow:Saver not created because there are no variables in the graph to restore issue in both calab and Mac local. Screen Shot 2020-03-06 at 11 24 44 AM

weila312 avatar Mar 06 '20 03:03 weila312

I have the same issue running tensorflow-gpu==2.0.0 Notebook kernel dies when trying to perform inference later on.

I'm still looking into it but it seems the problem lies with the saved_model. The variables folder for the ssd_mobilenet_v1_coco_2017_1_17 model is empty.

Any updates on this?

alberto139 avatar Mar 18 '20 02:03 alberto139

facing same issue for windows 10 tesorflow gpu

FasihaIkram avatar Mar 19 '20 10:03 FasihaIkram

have you solved it?

FasihaIkram avatar Mar 20 '20 07:03 FasihaIkram

@FasihaIkram No luck just yet. For my own projects I've downgraded to tensorflow-gpu==1.15.0 and using the frozen graphs to load models.

alberto139 avatar Mar 20 '20 21:03 alberto139

Same issue here on Win10, tensorflow gpu 2 with cuda 10.1 Thank you for the workaround idea, I'll give it a try for the time being.

FultonX avatar Mar 25 '20 15:03 FultonX

Same issue here on "ssd_mobilenet_v1_coco_2017_11_17" and "ssd_mobilenet_v2_coco_2018_03_29" Does anyone find the solution? Does anyone knows the reason why it is not working? Using the frozen graphs is the best option for now?

hyogrin avatar Apr 06 '20 10:04 hyogrin

Same issue here. Any updates?

jackyvr avatar Apr 29 '20 18:04 jackyvr

Same issue here on linux. Any update?

punisher-n avatar May 20 '20 16:05 punisher-n

Same issue here on win10 cuda10.0 cudnn7.6. Any update?

hezongfanghuaok avatar May 22 '20 07:05 hezongfanghuaok

same issue is there a solution ?

tunisiemas avatar May 25 '20 15:05 tunisiemas

I am also facing the same issue. Can anyone please help.

sujithramanathan avatar Jun 08 '20 11:06 sujithramanathan

Facing the same issue here. Any update?

musta-zirari avatar Jun 13 '20 16:06 musta-zirari

Same issue here on Win10, tensorflow gpu 2 with cuda 10.1 Thank you for the workaround idea, I'll give it a try for the time being.

Does the workaround work?

AmitSharma1127 avatar Jun 18 '20 04:06 AmitSharma1127

maybe because model are vers 1.x and tensors is 2.x?

Our frozen inference graphs are generated using the v1.12.0 release version of Tensorflow and we do not guarantee that these will work with other versions; this being said, each frozen inference graph can be regenerated using your current version of Tensorflow by re-running the exporter, pointing it at the model directory as well as the corresponding config file in samples/configs.

https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/detection_model_zoo.md

anybody an idea how to solve this easyly?

ozett avatar Jun 25 '20 17:06 ozett

any updates here yet?

colinvanlieshout avatar Aug 06 '20 08:08 colinvanlieshout

Facing the same problem

AryanSethi avatar Oct 03 '20 08:10 AryanSethi

Same here

floschne avatar Nov 12 '20 17:11 floschne

Also facing the same problem

luis-armando-perez-rey avatar Nov 17 '20 13:11 luis-armando-perez-rey

Same problem

cryptaylor avatar Nov 23 '20 17:11 cryptaylor

is there any solution yet?

Prasunsk avatar Nov 29 '20 10:11 Prasunsk