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

How do I set the training parameters? #330

Open
amYaniii opened this issue Apr 30, 2024 · 1 comment
Open

How do I set the training parameters? #330

amYaniii opened this issue Apr 30, 2024 · 1 comment

Comments

@amYaniii
Copy link

Hello author, I have just touched this task and tried to train my own dataset. How do you determine the training epochs I want to run in the train.py file? and According to the official guidelines, I seem to have run through the code, but why are all my indicators 0 during training, is it because I have too few training sessions?
Here's the command for me to run train.py
"python train.py --train-images-folder "F:\edgeai-yolov5-yolo-pose\sports\images\train2017" --prepared-train-labels F:\lightweight-human-pose-estimation.pytorch-master\prepared_train_annotation.pkl --val-labels F:\lightweight-human-pose-estimation.pytorch-master\val_subset.json --val-images-folder "F:\edgeai-yolov5-yolo-pose\sports\images\val2017" --from-mobilenet"
I deleted this command"--checkpoint-path F:\lightweight-human-pose-estimation.pytorch-master\mobilenet_sgd_68.848.pth.tar",because it would give an error, but I didn't change the network
image
After removing this command, this will work through, but why are so many iterations being trained and the validation metric is 0? Is it because I didn't use pre-training weights?
image

@amYaniii
Copy link
Author

amYaniii commented May 3, 2024

What is the relationship between the iterations in the train.py file and the training round epochs, how many epochs are generally trained, and how to set the iterations?

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

1 participant