-
Notifications
You must be signed in to change notification settings - Fork 314
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
Train for custom dataset #28
Comments
First, your video frame should be preprocessed to square, That's to say, the height and width should be the same.
Third, set the format of your data according the train.md in this repo. Then change the data_dir in train_iPER.sh and you can train it. |
Thanks a lot @SunYangtian. |
The size of image sent to hmr cannot be changed because the model is pre-trained. In fact, it must be 224, as I do in that code. And pose and shape parameter has nothing to do with the image size. So what you need to do is resize to 224*224 and send it to hmr.
…------------------ Original ------------------
From: "SANDHYALAXMI KANNA"<[email protected]>;
Date: 2019年11月7日(星期四) 晚上9:02
To: "svip-lab/impersonator"<[email protected]>;
Cc: "孙阳天"<[email protected]>; "Mention"<[email protected]>;
Subject: Re: [svip-lab/impersonator] Train for custom dataset (#28)
Thanks a lot @SunYangtian.
This code is helpful for me to go one step forward.
If i want to change the size instead of 256, 1024 what things i have to modify in hmr so that we can get resized values of pose and shape (theta)???
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
@SunYangtian
I think they should be
Because in cv_utils.transform_img, it divide the img by 255 to scale it to [0,1] first. |
@HrsPythonix You're right. Thanks! |
Hi piaozhx,
Thanks for sharing the code. I cloned and able to execute the links.The way of explanation is in such away even for installations is also very nice which makes the process easy and able to understood.
I want to train on my own custom videos. Can you tell the process of how to go further??
What is the process for high quality images??
Thanks in Advance.
Regards,
SandhyaLaxmi
The text was updated successfully, but these errors were encountered: