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

Run generate_gt.py but name segments is not defined #25

Open
bobd988 opened this issue May 28, 2023 · 1 comment
Open

Run generate_gt.py but name segments is not defined #25

bobd988 opened this issue May 28, 2023 · 1 comment

Comments

@bobd988
Copy link

bobd988 commented May 28, 2023

Hi,

I met below error when running generate_gt command. Please help. Thanks.
python generate_gt.py --recordings_basedir /data/comma2k19/Chunk_1 --openpilot_dir /data/openpilot --path_to_model /data/openpilot-pipeline/common/models/supercombo.onnx ,
Finding segment directories...
171it [00:00, 249.33it/s]Generating ground truths...
Traceback (most recent call last):
File "generate_gt.py", line 139, in
for dir_path in tqdm(segments):
NameError: name 'segments' is not defined

@bobd988
Copy link
Author

bobd988 commented May 29, 2023

I noticed this is related to cache folder, if I remove and run again this issue is gone. However I met another issue that common.gpio not found. Any clue about this? Here is the log: ```
Generating ground truths...
0%| | 0/2035 [00:00<?, ?it/s]dir_path: /data/comma2k19/Chunk_3/99c94dc769b5d96e_2018-05-03--08-13-12/16
[ERROR] Could not parse live calibration parameters from /media/S16/comma2k19/Chunk_3/99c94dc769b5d96e_2018-05-03--08-13-12/16

**No module named 'common.gpio'**

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

1 participant