解決TypeError: argument of type ‘NoneType‘ is not iterable
阿新 • • 發佈:2021-01-05
解決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=
歡迎大家交流學習,任何問題都可以留言