question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to change anchor size?

See original GitHub issue

Since the sizes of my input images are smaller than the original COCO or PASCAL pictures, I want to change the anchor size accordingly to make my model better. Then my objects to be detected are of a nearly fixed size and the ratio between width and height is almost fixed. So I want to change the ratios and scales too. But after I change it, for example, change sizes=[16, 32, 64, 128, 256], strides=[4, 8, 16, 32, 64] to sizes=[32, 64, 128, 256, 512], strides=[8, 16, 32, 64, 128], the detections are scaled down to localized in a corner, so I think I have make a mistake. So could anyone give me some help to tell me, How can I modify this parameters to change the anchor size. Thank you.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Kongseacommented, Dec 4, 2017

Thank you for your quick answer and kind advice. I will have a try and investigate it.

0reactions
Kongseacommented, Dec 5, 2017

OK, I will close it now. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change anchor sizes · Issue #1308 · pytorch/vision - GitHub
Change anchor sizes #1308 ... You'll need to change the number of input channels to the RPN as well. ... How do you...
Read more >
How to change anchor Box sizes Faster RCNN?
I have a dataset where I have to find just the bigger objects so I think I can try changing the anchor box...
Read more >
Setting a width and height on an A tag - Stack Overflow
You need to make your anchor display: block or display: inline-block; and then it will accept the width and height values.
Read more >
How to Resize Anchor Points in Illustrator - Astropad
How to adjust anchor points, handles, and bounding box display sizes in Illustrator. In the top menu bar, click on Illustrator CC →...
Read more >
Estimate Anchor Boxes From Training Data - MathWorks
Anchor boxes are important parameters of deep learning object detectors such as Faster R-CNN and YOLO v2. The shape, scale, and number of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found