Xharlie / BtcDet

Behind the Curtain: Learning Occluded Shapes for 3D Object Detection
Apache License 2.0
194 stars 43 forks source link

TypeError: zip argument #1 must support iteration #19

Open hiepbk opened 2 years ago

hiepbk commented 2 years ago

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

tnb918 commented 2 years ago

Pay attention to add ImageSets files

hiepbk commented 2 years ago

Pay attention to add ImageSets files

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

tnb918 commented 2 years ago

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

hiepbk commented 2 years ago

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

libingDY commented 1 year ago

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