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
Filters and collects dataset information by pairing images with their corresponding labels.
Parameters:
images_path (Path): Path to the directory containing image files.
labels_path (str): Path to the directory containing label files.
Returns:
list: A list of tuples, each containing the path to an image file and its associated segmentation as a tensor.
"""
My impression is that this is a general dataset, yet it seems to only load segmentations and no bboxes, judging from the docstring and variable names.
However, the following method, which does the actual loading seems to talk about bboxes again, even though the argument is clearly called seg_data_one_img:
I think it's just a language/translation thing, and it does load bboxes as you say (and maybe can load segmentation masks with the right config, but I haven't tested that or looked into it).
Description
I am confused about the following method:
YOLO/yolo/tools/data_loader.py
Lines 60 to 70 in cdd9a11
My impression is that this is a general dataset, yet it seems to only load segmentations and no bboxes, judging from the docstring and variable names.
However, the following method, which does the actual loading seems to talk about bboxes again, even though the argument is clearly called
seg_data_one_img
:YOLO/yolo/tools/data_loader.py
Lines 110 to 112 in cdd9a11
The text was updated successfully, but these errors were encountered: