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

'BoxList' object has no attribute 'quad_bbox' #2

Open
yoyoyo-yo opened this issue Oct 22, 2019 · 12 comments
Open

'BoxList' object has no attribute 'quad_bbox' #2

yoyoyo-yo opened this issue Oct 22, 2019 · 12 comments

Comments

@yoyoyo-yo
Copy link

❓ Questions and Help

@yoyoyo-yo yoyoyo-yo changed the title Thank you for your gread job! 'BoxList' object has no attribute 'quad_bbox' Oct 22, 2019
@yoyoyo-yo
Copy link
Author

Thank you for your gread job!

I installed and used inference_engine.py. Then, I got

Traceback (most recent call last):
  File "inference_engine.py", line 230, in <module>
    canvas = detector.run_on_opencv_image(img)
  File "inference_engine.py", line 93, in run_on_opencv_image
    result = self.overlay_boxes(result, top_predictions)
  File "inference_engine.py", line 172, in overlay_boxes
    quad_boxes = predictions.quad_bbox
AttributeError: 'BoxList' object has no attribute 'quad_bbox'

What shold I do?

@AlfengYuan
Copy link

AlfengYuan commented Dec 3, 2019

This implement doesn't include 11x3 and 3x11 RoiAligan or RoiPooling, and inclined nms agorithm.
This is a good project for learning, but it is too far from the original paper.

@Xiangyu-CAS
Copy link
Owner

@yoyoyo-yo It seems like you have installed the original version of MaskRCNN-benchmark, so it points to another BoxList class, which has no implementation of Quad_bbox.

@Xiangyu-CAS
Copy link
Owner

@yyfhaku This version only implemented the major though of R2CNN, that's the rotated region regression. Actually, there are still lots of hyperparamters and tricks need to be carefully adjusted.

BTW: 113 and 311 proved to be not working well in general case

@yangkai798
Copy link

嗨, 请问这里最后预测的还是按照8个点来吗?而不是论文中说的, x1, y1, x2, y2 和h? Inclined NMS 算IoU的时候实际上就是Skew IoU 是吗? 多谢!

@AlfengYuan
Copy link

AlfengYuan commented Dec 30, 2019 via email

@yoyoyo-yo
Copy link
Author

@Xiangyu-CAS I followed your INSTALL.md, but got same error.
This looks like maskrcnn_benchmark path error?

@xiabc612
Copy link

There is no need to clone another maskrcnn-benchmark, just run "python setup.py build develop" in root dir. The installation instructions need to be improved!

@Xiangyu-CAS
Copy link
Owner

@xiabc612 you are right... I didn't update installation.md, so it's the same as maskrcnn-benchmark. I will revise it. Thank you

@Xiangyu-CAS
Copy link
Owner

@yoyoyo-yo as xiabc612 said, there's no need to git clone another maskrcnn-benchmark, I have updated installation instructions. It's my fault, sorry for it.

@Xiangyu-CAS
Copy link
Owner

@yangkai798 是按照4个点8个参数来的,[x1, y1, x2, y2, h]也可以,后者效果在ICDAR上更好一点点,但区别应该不大,用在遥感里大家更倾向用4个点。 Inclinded NMS这里还没实现...

@YQ-Yang
Copy link

YQ-Yang commented Dec 2, 2020

请问这个能否在自己的数据集实现?

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

6 participants