SSD-Tensorflow icon indicating copy to clipboard operation
SSD-Tensorflow copied to clipboard

I run the eval_ssd_network.py,got TypeError: _variable_v2_call() got an unexpected keyword argument 'collections'

Open Sulince opened this issue 7 years ago • 10 comments

I run the eval_ssd_network.py in VOCtest07,and got a TypeError: File "/home/sulince/anaconda3/lib/python3.6/site-packages/tensorflow/python/ops/variables.py", line 185, in call return cls._variable_v2_call(*args, **kwargs) TypeError: _variable_v2_call() got an unexpected keyword argument 'collections'

Sulince avatar Mar 06 '19 08:03 Sulince

It should be work if you change the code in ./tf_extended/metrics.py Line 51. "return variables.Variable" =>> "return variables.VariableV1"

EdwinChien avatar Mar 09 '19 16:03 EdwinChien

It should be work if you change the code in ./tf_extended/metrics.py Line 51. "return variables.Variable" =>> "return variables.VariableV1"

Actually, it works!

cjnjuwhy avatar Mar 27 '19 14:03 cjnjuwhy

It should be work if you change the code in ./tf_extended/metrics.py Line 51. "return variables.Variable" =>> "return variables.VariableV1"

This works for me, too! Thanks a lot.

Patrickctyyx avatar Apr 02 '19 09:04 Patrickctyyx

Works for me, thanks!

GongliDuan avatar Apr 18 '19 14:04 GongliDuan

it works for me too, thanks!

qinzhenyi1314 avatar Jul 10 '19 16:07 qinzhenyi1314

Thanks,it works

creabob avatar Jul 17 '19 09:07 creabob

Thanks,it really works.

dhiyu avatar Aug 31 '19 04:08 dhiyu

thanks a lot!

zhangk19 avatar Oct 06 '19 11:10 zhangk19

Will you use tensorflowf 1.14?

1992Zz avatar Nov 09 '19 05:11 1992Zz

thanks

weixinxu666 avatar Feb 04 '20 08:02 weixinxu666