-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom data training error #82
Comments
Without looking at the code, my guess it that you haven't changed the number of classes as the main difference between the two shapes is 25 and 7. |
@ashleyjsands Can you tel me what i need to change? |
@Mahibro I have no idea why you are getting that error. Having a guess: maybe an activation function of 'linear' is missing or not supported? |
@ashleyjsands @hizhangp What all i need to make change(In files),when i create XML files for my own dataset. |
Traceback (most recent call last):
File "/home/shaojun/PycharmProjects/yolo_tensorflow/train.py", line 165, in
main()
File "/home/shaojun/PycharmProjects/yolo_tensorflow/train.py", line 158, in main
solver.train()
File "/home/shaojun/PycharmProjects/yolo_tensorflow/train.py", line 105, in train
self.sess.run(self.train_op, feed_dict=feed_dict)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 929, in run
run_metadata_ptr)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1128, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (45, 7, 7, 25) for Tensor u'Placeholder:0', which has shape '(?, 7, 7, 7)'
The text was updated successfully, but these errors were encountered: