-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hi there :)
Trying to run the dfine training notebook without any change and it exploding during training
ValueError: Caught ValueError in DataLoader worker process 1.
Original Traceback (most recent call last):
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/torch/utils/data/_utils/worker.py", line 349, in _worker_loop
data = fetcher.fetch(index) # type: ignore[possibly-undefined]
^^^^^^^^^^^^^^^^^^^^
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/torch/utils/data/_utils/fetch.py", line 52, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
~~~~~~~~~~~~^^^^^
File "/tmp/ipykernel_10044/1942330765.py", line 58, in __getitem__
transformed = self.transform(image=image, bboxes=boxes, category=categories)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/albumentations/core/composition.py", line 607, in __call__
self.preprocess(data)
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/albumentations/core/composition.py", line 647, in preprocess
self._preprocess_processors(data)
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/albumentations/core/composition.py", line 674, in _preprocess_processors
processor.preprocess(data)
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/albumentations/core/utils.py", line 256, in preprocess
data[data_name] = self.check_and_convert(data[data_name], shape, direction="to")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/albumentations/core/bbox_utils.py", line 340, in check_and_convert
self.check(converted_data, shape)
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/albumentations/core/bbox_utils.py", line 355, in check
check_bboxes(data)
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/albumentations/augmentations/utils.py", line 245, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/media/zuppif/Cancro/open-omniparser-dataset/omniparser/.venv/lib/python3.12/site-packages/albumentations/core/bbox_utils.py", line 625, in check_bboxes
raise ValueError(f"x_max is less than or equal to x_min for bbox {invalid_bbox}.")
ValueError: x_max is less than or equal to x_min for bbox [1. 0.41666666 1. 1. 3. ].
The error seems to say that the width must be bigger than one, in this case it isn't.
Do you have any idea on what is going on over there? Thanks a lot!
Metadata
Metadata
Assignees
Labels
No labels