You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While employing personal data for semi-supervised object detection, I encountered an issue where the data could not be read properly, resulting in an infinite loop during data reading without any error messages. After thorough investigation, it was determined that the problem lies within a logical flaw in the GroupMultiSourceSampler.
The basic working principle of GroupMultiSourceSampler is to divide the data into four parts based on group and source. There are two groups: images with width greater than or equal to height, and images with width less than height. There are two sources: labeled data and unlabeled data. As shown in the figure below.
The issue I encountered is that all images in the labeled data have a width greater than or equal to their height, while the unlabeled data contains images from both groups. This leads to a problem in the following code segment.
Describe the bug
While employing personal data for semi-supervised object detection, I encountered an issue where the data could not be read properly, resulting in an infinite loop during data reading without any error messages. After thorough investigation, it was determined that the problem lies within a logical flaw in the
GroupMultiSourceSampler
.The basic working principle of
GroupMultiSourceSampler
is to divide the data into four parts based on group and source. There are two groups: images with width greater than or equal to height, and images with width less than height. There are two sources: labeled data and unlabeled data. As shown in the figure below.The issue I encountered is that all images in the labeled data have a width greater than or equal to their height, while the unlabeled data contains images from both groups. This leads to a problem in the following code segment.
The dead loop occurs at:
I am not sure if this needs to be fixed, as the program runs correctly after I switched to using
MultiSourceSampler
.Checklist
The text was updated successfully, but these errors were encountered: