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.

ValueError: No proposal boxes available for one of the images during training

See original GitHub issue

❓ Questions and Help

In #169 the case is discussed where no annotations are available. During training on small objects it is quite frequent that the RPN does not generate any proposal, what can I do now?

Reducing NMS_THRESH and FG_IOU_THRESHOLD does not seem to help.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

6reactions
botcscommented, Mar 2, 2019

I have found the source of this problem. The proposals were cut away by keep_only_positive_boxes since my contiguous_id started from 0 instead of 1, while 0 should be kept for background.

0reactions
hm1119commented, Nov 2, 2021

I have found the source of this problem. The proposals were cut away by keep_only_positive_boxes since my contiguous_id started from 0 instead of 1, while 0 should be kept for background.

hello I also have this issue; and how do you solved it. thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visualize proposal regions from RPN head in Faster R-CNN ...
I'm trying debug my trained Faster R-CNN model using Tensorflow Object Detection API and I want to visualize the proposal regions of RPN...
Read more >
torchvision.models.detection.faster_rcnn - PyTorch
During training, the model expects both the input tensors, ... and returns the post-processed predictions as a List[Dict[Tensor]], one for each input image....
Read more >
Faster RCNN with PyTorch - Kaggle
Draw(image) im_width, im_height = image.size for box, color in ... raise ValueError( "No proposal boxes available for one of the images " "during...
Read more >
How to Train YOLOv5 on a Custom Dataset, Step by Step
For those who don't know what YOLO is, it's one of the most known object detection algorithms that has been achieving state-of-the-art results ......
Read more >
mrcnn/model.py · master · pdz / cGOM - gitlab@ETH
"""Generates detection targets for one image. Subsamples proposals and. 487. generates target class IDs, bounding box deltas, and masks for ...
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