Skip to content
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: zip argument #1 must support iteration #19

Open
hiepbk opened this issue Mar 23, 2022 · 5 comments
Open

TypeError: zip argument #1 must support iteration #19

hiepbk opened this issue Mar 23, 2022 · 5 comments

Comments

@hiepbk
Copy link

hiepbk commented Mar 23, 2022

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
Copy link

tnb918 commented Mar 27, 2022

Pay attention to add ImageSets files

@hiepbk
Copy link
Author

hiepbk commented Apr 4, 2022

Pay attention to add ImageSets files

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

@tnb918
Copy link

tnb918 commented Apr 4, 2022

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

@hiepbk
Copy link
Author

hiepbk commented Apr 4, 2022

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

@libingDY
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants