-
Notifications
You must be signed in to change notification settings - Fork 334
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 in tools/test_lanenet.py #10
Comments
@cookfish , batch_size should be set as 8. The batch_size used in training and testing is the same since I specify the batch_size channel in the training process. |
@cardwing : So whatever the batch size we set during training, the same batch size we need to keep during testing, is does you mean? |
@chokkarapu , yes. But if you do not specify the batch size dimension in the training process (the construction of graph), you can use arbitrary batch size during testing. See here for detailed explanations. |
Hi, another error occurred after I set batch_size to 8, |
@cookfish , it seems that the image is read incorrectly. Please check your image path. |
got it, why you cut img_path[0] off in test_img.txt ? checkout |
@cookfish , it depends on the content of your image list. In my case, I need to remove '/' in the image path. |
well, just a suggestion, it's better to use absolute path |
Yes. |
我用绝对路径也会有这个问题。。 |
@zijianzhang, just check the image path and the problem should be fixed easily. |
An error seems trace back to
line 70 in tools/test_lanenet.py: binary_seg_ret, instance_seg_ret = net.inference(input_tensor=input_tensor, name='lanenet_loss')
My command is
python3 tools/test_lanenet.py --weights_path ~/test-model-68-8/culane_lanenet_vgg_2018-11-27-16-03-42.ckpt-76000 --image_path demo_file/test_img.txt --batch_size 1 --use_gpu 0
Here is the link of Traceback >> log.txt
`
The text was updated successfully, but these errors were encountered: