We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
yolo_tensorflow/yolo/yolo_net.py
Line 178 in 88aba9d
predict_boxes_tran = tf.stack( [(predict_boxes[..., 0] + offset) / self.cell_size, (predict_boxes[..., 1] + offset_tran) / self.cell_size, tf.square(predict_boxes[..., 2]), tf.square(predict_boxes[..., 3])], axis=-1)
I think it is supposed to be as follow:
predict_boxes_tran = tf.stack( [(predict_boxes[..., 0] + offset) * self.image_size/ self.cell_size, (predict_boxes[..., 1] + offset_tran) * self.image_size/ self.cell_size, tf.square(predict_boxes[..., 2]), tf.square(predict_boxes[..., 3])], axis=-1)
The text was updated successfully, but these errors were encountered:
Does it work after you modified it like you said?
Sorry, something went wrong.
Sorry, I didn't use this code, because I reimplemented yolo1 and yolo2 in my repository by myself.
No branches or pull requests
yolo_tensorflow/yolo/yolo_net.py
Line 178 in 88aba9d
predict_boxes_tran = tf.stack(
[(predict_boxes[..., 0] + offset) / self.cell_size,
(predict_boxes[..., 1] + offset_tran) / self.cell_size,
tf.square(predict_boxes[..., 2]),
tf.square(predict_boxes[..., 3])], axis=-1)
I think it is supposed to be as follow:
predict_boxes_tran = tf.stack(
[(predict_boxes[..., 0] + offset) * self.image_size/ self.cell_size,
(predict_boxes[..., 1] + offset_tran) * self.image_size/ self.cell_size,
tf.square(predict_boxes[..., 2]),
tf.square(predict_boxes[..., 3])], axis=-1)
The text was updated successfully, but these errors were encountered: