Closed liu978079474 closed 5 years ago
@morpheusthewhite Hi,I run python demo.py error.
The log:
Traceback (most recent call last):
File "demo.py", line 142, in
Are you passing any argument to demo
?
No,I want to run demo.py to test environment.But it report an error.
you can run demo
only once you've finished training
@morpheusthewhite Yes,I have run train.py successfully,and I use the trained model.
Then I repeat the same question
Are you passing any argument to
demo
?
I mean, do you just run python demo.py
?
@morpheusthewhite Yes,I only python demo.py.Could you tell me how to run the demo.py successfully?
Post here the content of your folders (if you're on Linux just run tree -L 3
).
And stop posting the same question
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!