dBeker / Faster-RCNN-TensorFlow-Python3

Tensorflow Faster R-CNN for Windows/Linux and Python 3 (3.5/3.6/3.7)
MIT License
612 stars 329 forks source link

'NoneType' is not iterable: error during training #111

Closed liu978079474 closed 5 years ago

liu978079474 commented 5 years ago

Hello,I run train.py error.The log is Traceback (most recent call last): File "train.py", line 216, in train.train() File "train.py", line 123, in train variables_to_restore = self.net.get_variables_to_restore(variables, var_keep_dic) File "D:\Project\MyLearning\Faster-RCNN-TensorFlow-Python3-master\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

Thank you!

morpheusthewhite commented 5 years ago

Duplicate of https://github.com/dBeker/Faster-RCNN-TensorFlow-Python3/issues/80

liu978079474 commented 5 years ago

@morpheusthewhite Hi,I run python demo.py error. The log: Traceback (most recent call last): File "demo.py", line 142, in raise NotImplementedError NotImplementedError

morpheusthewhite commented 5 years ago

Are you passing any argument to demo?

liu978079474 commented 5 years ago

No,I want to run demo.py to test environment.But it report an error.

morpheusthewhite commented 5 years ago

you can run demo only once you've finished training

liu978079474 commented 5 years ago

@morpheusthewhite Yes,I have run train.py successfully,and I use the trained model.

morpheusthewhite commented 5 years ago

Then I repeat the same question

Are you passing any argument to demo?

I mean, do you just run python demo.py?

liu978079474 commented 5 years ago

@morpheusthewhite Yes,I only python demo.py.Could you tell me how to run the demo.py successfully?

morpheusthewhite commented 5 years ago

Post here the content of your folders (if you're on Linux just run tree -L 3).

And stop posting the same question