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
Original Traceback (most recent call last):
File "/home/ranhui/Software/miniconda3/envs/mmseg/lib/python3.10/site-packages/torch/utils/data/_utils/worker.py", line 287, in _worker_loop
data = fetcher.fetch(index)
File "/home/ranhui/Software/miniconda3/envs/mmseg/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 49, in fetch
data = [self.dataset[idx] foridxin possibly_batched_index]
File "/home/ranhui/Software/miniconda3/envs/mmseg/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 49, in<listcomp>
data = [self.dataset[idx] foridxin possibly_batched_index]
File "/home/ranhui/Workspace/mmsegmentation/mmseg/datasets/custom.py", line 215, in __getitem__
return self.prepare_train_img(idx)
File "/home/ranhui/Workspace/mmsegmentation/mmseg/datasets/custom.py", line 232, in prepare_train_img
return self.pipeline(results)
File "/home/ranhui/Workspace/mmsegmentation/mmseg/datasets/pipelines/compose.py", line 41, in __call__
data = t(data)
File "/home/ranhui/Workspace/mmsegmentation/mmseg/datasets/pipelines/transforms.py", line 1139, in __call__
results = self._mosaic_transform_img(results)
File "/home/ranhui/Workspace/mmsegmentation/mmseg/datasets/pipelines/transforms.py", line 1166, in _mosaic_transform_img
assert 'mix_results'in results
AssertionError
The text was updated successfully, but these errors were encountered:
Describe the bug
An assertion error:
assert 'mix_results' in results
occurred when using "RandomMosaic"Reproduction
What command or script did you run?
Did you make any modifications on the code or config? Did you understand what you have modified?
I'm modified the config in order to use my own dataset configration.
Here's my dataset config
A
CustomDataset
type, it's definition is given below.Environment
python mmseg/utils/collect_env.py
to collect necessary environment information and paste it here.Error traceback
If applicable, paste the error trackback here.
The text was updated successfully, but these errors were encountered: