解决TypeError: argument of type ‘NoneType‘ is not iterable
解决TypeError: argument of type ‘NoneType’ is not iterable
报错信息
Traceback (most recent call last):
File "train.py", line 216, in <module>
train.train()
File "train.py", line 123, in train
variables_to_restore = self.net.get_variables_to_restore(variables, var_keep_dic)
File "F:\Faster-RCNN-TensorFlow-Python3\lib\nets\vgg16.py", line 66, in get_variables_to_restore
if v.name.split(':')[0] in var_keep_dic:
TypeError: argument of type 'NoneType' is not iterable
解决办法
=改成vgg16.ckpt=
欢迎大家交流学习,任何问题都可以留言
还没有评论,来说两句吧...