Skip to content
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

对image,landmark进行flip,却没有对bbox进行flip? #26

Open
long2double opened this issue Jan 3, 2020 · 1 comment
Open

Comments

@long2double
Copy link

`image_batch_array, label_batch_array, bbox_batch_array, landmark_batch_array = sess.run([image_batch, label_batch, bbox_batch, landmark_batch])

随机翻转图像

image_batch_array, landmark_batch_array = random_flip_images(image_batch_array, label_batch_array, landmark_batch_array)
_, _, summary = sess.run([train_op, lr_op, summary_op], feed_dict={input_image: image_batch_array,label: label_batch_array,bbox_target: bbox_batch_array,landmark_target: landmark_batch_array})`

@greenblackmap
Copy link

你好,不知道你是否已经有了结论,我个人的理解是:在gen_hard_example.py与gen_12net_data.py中,已经对图片进行了剪裁,就相当于一个个box,因此到这段程序中实际就是在对box与landmark进行flip。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants