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

error when running python inferencer.py #25

Open
darld opened this issue Jul 23, 2024 · 2 comments
Open

error when running python inferencer.py #25

darld opened this issue Jul 23, 2024 · 2 comments

Comments

@darld
Copy link

darld commented Jul 23, 2024

Traceback (most recent call last):
File "/home/ubuntu/sam_road/inferencer.py", line 279, in
pred_nodes, pred_edges, itsc_mask, road_mask = infer_one_img(net, img, config)
ValueError: not enough values to unpack (expected 4, got 2)

@ZC-peng
Copy link

ZC-peng commented Jul 25, 2024

Hello, I don't know if your problem has been solved. I noticed that you can proceed by skipping the processing of AOI_4_Shanghai_1597. Perhaps there's something wrong with the data in this one?

Traceback (most recent call last):
File "/home/ubuntu/sam_road/inferencer.py", line 279, in
pred_nodes, pred_edges, itsc_mask, road_mask = infer_one_img(net, img, config)
ValueError: not enough values to unpack (expected 4, got 2)

@htcr
Copy link
Owner

htcr commented Aug 8, 2024

Hi, @darld there was a bug in inferencer.py when no vertex is detected. I have fixed that and you shall no longer see this issue. @ZC-peng thank you for finding the offending sample - I have tested on this and confirm it fixes the issue.

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