mmdetection
mmdetection copied to clipboard
Colab (Mask R-CNN Det Tutorial.ipynb) trows error
Thanks for your error report and we appreciate it a lot.
Checklist
Done. The Colab demo does include versions and should be kept up to date to make a good first impression.
Describe the bug Running the Colab, it trows an error in this section:
convert_balloon_to_coco(
'./ballondatasets/balloon/train/via_region_data.json',
'./ballondatasets/balloon/train/annotation_coco.json',
'./ballondatasets/balloon/train/')
Excetion:
TypeError Traceback (most recent call last)
[<ipython-input-48-49da3357b67b>](https://localhost:8080/#) in <cell line: 1>()
----> 1 convert_balloon_to_coco(
2 './ballondatasets/balloon/train/via_region_data.json',
3 './ballondatasets/balloon/train/annotation_coco.json',
4 './ballondatasets/balloon/train/')
5
1 frames
[/usr/local/lib/python3.10/dist-packages/mmengine/utils/progressbar.py](https://localhost:8080/#) in track_iter_progress(tasks, bar_width, file)
238 task_num = len(tasks)
239 else:
--> 240 raise TypeError(
241 '"tasks" must be a tuple object or a sequence object, but got '
242 f'{type(tasks)}')
TypeError: "tasks" must be a tuple object or a sequence object, but got <class 'dict_values'>
Reproduction
Unaltered demo Colab
- Did you make any modifications on the code or config? Did you understand what you have modified? No
- What dataset did you use? Unaltered demo Colab