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

test mode error #27

Open
gneworld opened this issue Jun 1, 2020 · 1 comment
Open

test mode error #27

gneworld opened this issue Jun 1, 2020 · 1 comment

Comments

@gneworld
Copy link

gneworld commented Jun 1, 2020

hi,
I met an error when do mode 3 test, error info like this, I don't know why the "j" is just a float so it is not iterable? thanks very much for your answer

haha@haha-server:~/user/gang/workspace/models/research/PINet$ python2 test.py
Testing
Get dataset
Get agent
Setup GPU mode
Testing loop
evaluate
THCudaCheck FAIL file=/pytorch/aten/src/THC/THCGeneral.cpp line=405 error=11 : invalid argument
40
Traceback (most recent call last):
File "test.py", line 411, in
Testing()
File "test.py", line 99, in Testing
evaluation(loader, lane_agent)
File "test.py", line 110, in evaluation
x, y = find_target(x, y, target_h, ratio_w, ratio_h)
File "test.py", line 127, in find_target
min_y = min(j)
TypeError: 'float' object is not iterable

@SAIVENKATARAJU
Copy link

Use python 2

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

2 participants