-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to increase Model accuracy #59
Comments
Hi AmoghBharadwaj, Thanks for reaching out. Which model are you running? Typically the densenet121 model yields better accuracy than the resnet18 model. You could also experiment with adjusting the image resolution. Aside from that, training or experimenting with model architectures is likely necessary. Please let me know if this helps or you have any questions. Best, |
Hello @jaybdub , I am using resnet model, will definitely try out densenet. Also, can you please shed more light on training and experimenting with model architectures and how to do it ? Thank you. |
Sure, Training a Model
When you're defining you model, the main requirement is
I'd start trying densenet121. The models listed in the README are the product of a fair amount of experimentation. But there definitely may be improvements you could make. It's possible these improvements may have more to do with other factors such as improvements to the training script, data augmentation methods than architecture itself, which would require more modification to the actual code, but it could be architecture as well. Hope this helps, let me know if you run into any issues. Best, |
@jaybdub |
@dreamilk have you retrained successfully? I want to retrain with my dataset and I am not clear about how to do. Could you tell me the way? Thanks very much! |
I have tried training, and some of the official JSON files can be used for training. If I remember correctly, train.py It's for training. train.py There may be errors, so you need to modify the problem yourself. For example, from. Models import models may need to be modified to from trt_pose.Models import models. The specific situation needs specific analysis. Good luck! |
@dreamilk thank for your reply. I am making my own dataset (almost are camera images) and I concern about accuracy you got or is this model suitable for action detection problem? |
@jaybdub how to train a larger model with 416x416 or 608x608. The current model size is quiet small and cannot detect small objects. |
can you share the model? thanks |
Hi, hope you still need. You can retrain model follow this guide. And change "image_shape" in config file to 416 or 608, "target_shape" = "image_shape"/4. For example if image_shape is [416, 416], target_shape is [104, 104]. |
Hello Team,
I am trying to run Human Pose estimation on video data and the model seems to miss the detections say for ex when the person is stretching his hands, tilts a bit, often gives wrong detections. Can you please let me know how to increase the model predictions accuracy ? Thank you.
The text was updated successfully, but these errors were encountered: