-
Notifications
You must be signed in to change notification settings - Fork 93
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
Inference code #2
Comments
Thank for your interest. What is you need in the inference code, e.g., do visualization? As for MoblieNet, We haven't tested it. We will consider testing it and updating the configs. It may have faster inference speed but relatively low accuracy. |
Well, not only visualization, some (including me) may need to deploy it on some embedding devices, so maybe we can implement a class to do inference without complicated config and data loader? |
OK, I will consider add the inference code. The config cannot be removed. We need the config to define network, preprocess or others. |
And maybe another advice... It would be better if you can change the input of the model to be only images just like mmdetection. It seems to be a batch with both images and labels now and it`s not convenient for inference. Thank you for your good job! |
The input is a |
By the way, we don't have labels during validate in a batch. Do you run the code and get labels? |
@cf206cd I have added the MobileNetV2(https://github.com/Turoad/lanedet/blob/main/configs/laneatt/resnet18_culane.py) and the |
Wow! Amazing! Thank you so much! |
It would be nicer if you can add inference code! And why there is no MobileNet in backbone? Does it not work well for this task?
The text was updated successfully, but these errors were encountered: