tf-faster-rcnn
tf-faster-rcnn copied to clipboard
Restoring from checkpoint failed
I have trained a new Faster RCNN using my own training set. It' ok during training and testing. but I using my trained mode to run demo.py for my picture, there are:
Restoring from checkpoint failed. This is most likely due to a mismatch between the current graph and the graph from the checkpoint. Please ensure that you have not altered the graph expected based on the checkpoint. Original error:
Assign requires shapes of both tensors to match. lhs shape= [2048,84] rhs shape= [2048,24]
who can help me ,please.
check on the number of anchors you have used during train and test. Both should match.
check on the number of anchors you have used during train and test. Both should match.
I find the code about anchors and find out the question , I forget correct n-class , think you all the same
Yes by default pascal-voc has 21 classes. so 21x4. you could have changed it to 6 so 6x4.
check on the number of anchors you have used during train and test. Both should match.
I find the code about anchors and find out the question , I forget correct n-class , think you all the same
I have the same question. Could you tell me where you find the code about anchors? I can't find it.