-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
typeError: Unsupported format:color #11
Comments
Hi @justinday123 , thanks for your feedback. We fix the bug. It should work fine now. Please refer to #8 for more details. |
i got an another issue how could i solve it? |
Hi, the problem seems to be related to your environment. Maybe this link can be of help. |
hi. i got on error, but i have no idea to fix it.
Traceback (most recent call last):
File "tools/train.py", line 288, in
main()
File "tools/train.py", line 277, in main
train_model(
File "/workspace/HoP/mmdet3d/apis/train.py", line 344, in train_model
train_detector(
File "/workspace/HoP/mmdet3d/apis/train.py", line 319, in train_detector
runner.run(data_loaders, cfg.workflow)
File "/opt/conda/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 130, in run
epoch_runner(data_loaders[i], **kwargs)
File "/opt/conda/lib/python3.8/site-packages/mmcv/runner/epoch_based_runner.py", line 47, in train
for i, data_batch in enumerate(self.data_loader):
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 517, in next
data = self._next_data()
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1199, in _next_data
return self._process_data(data)
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1225, in _process_data
data.reraise()
File "/opt/conda/lib/python3.8/site-packages/torch/_utils.py", line 429, in reraise
raise self.exc_type(msg)
TypeError: Caught TypeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/_utils/worker.py", line 202, in _worker_loop
data = fetcher.fetch(index)
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/opt/conda/lib/python3.8/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/workspace/HoP/mmdet3d/datasets/custom_3d.py", line 435, in getitem
data = self.prepare_train_data(idx)
File "/workspace/HoP/mmdet3d/datasets/custom_3d.py", line 229, in prepare_train_data
example = self.pipeline(input_dict)
File "/workspace/HoP/mmdet3d/datasets/pipelines/compose.py", line 49, in call
data = t(data)
File "/workspace/HoP/mmdet3d/datasets/pipelines/loading.py", line 1130, in call
results['img_inputs'] = self.get_inputs(results)
File "/workspace/HoP/mmdet3d/datasets/pipelines/loading.py", line 1019, in get_inputs
img = self.load_image(filename)
File "/workspace/HoP/mmdet3d/datasets/pipelines/loading.py", line 1151, in load_image
img_array = load_fun(filename, color_type)
File "/opt/conda/lib/python3.8/site-packages/mmcv/fileio/io.py", line 51, in load
raise TypeError(f'Unsupported format: {file_format}')
TypeError: Unsupported format: color
The text was updated successfully, but these errors were encountered: