BtcDet icon indicating copy to clipboard operation
BtcDet copied to clipboard

TypeError: zip argument #1 must support iteration

Open hiepbk opened this issue 2 years ago • 5 comments

Hello author, i tried to generate the data infos by running the following command: python -m btcdet.datasets.kitti.kitti_dataset create_kitti_infos tools/cfgs/dataset_configs/kitti_dataset.yaml but I got a traceback:

Traceback (most recent call last): File "/home/hiepubt/anaconda3/envs/btcdet/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/hiepubt/anaconda3/envs/btcdet/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/hiepubt/BtcDet/btcdet/datasets/kitti/kitti_dataset.py", line 548, in save_path=path File "/home/hiepubt/BtcDet/btcdet/datasets/kitti/kitti_dataset.py", line 475, in create_kitti_infos kitti_infos_train = dataset.get_infos(num_workers=workers, has_label=True, count_inside_pts=True) File "/home/hiepubt/BtcDet/btcdet/datasets/kitti/kitti_dataset.py", line 200, in get_infos infos = executor.map(process_single_scene, sample_id_list) File "/home/hiepubt/anaconda3/envs/btcdet/lib/python3.7/concurrent/futures/_base.py", line 587, in map fs = [self.submit(fn, *args) for args in zip(*iterables)] TypeError: zip argument #1 must support iteration

hiepbk avatar Mar 23 '22 12:03 hiepbk

Pay attention to add ImageSets files

tnb918 avatar Mar 27 '22 12:03 tnb918

Pay attention to add ImageSets files

Hello bro, Can you tell me what is the ImageSets files?

hiepbk avatar Apr 04 '22 16:04 hiepbk

You can refer to this,https://github.com/open-mmlab/OpenPCDet/tree/master/data/kitti/ImageSets

tnb918 avatar Apr 04 '22 16:04 tnb918

Thank you bro, you save my life =)))

hiepbk avatar Apr 04 '22 16:04 hiepbk

Hello, I have the same error. Why didn't I solve it? Could you show me the data directory

libingDY avatar Mar 21 '23 03:03 libingDY