-
Notifications
You must be signed in to change notification settings - Fork 44
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
A2S with ModelAgency data #40
Comments
Solved! it was because of the unit
class DEMO_A2S():
def __init__(
self,
#betas_folder='../samples/shapy_fit/',
ds_gender='female',
model_gender='neutral',
model_type='smplx',
rating_folder='../samples/attributes/'
):
....
#self.db['height_gt'] = self.db['heights'].astype(np.float32) #before
self.db['height_gt'] = self.db['heights'].astype(np.float32) / 100 #after
self.db['chest'] = self.db['bust'].astype(np.float32) / 100
self.db['waist'] = self.db['waist'].astype(np.float32) / 100
self.db['hips'] = self.db['hips'].astype(np.float32) / 100 In ModelAgency dataset file, units are all "cm", so i think it was not matched. I have another question.
|
@jongunee I would greatly appreciate it if you could provide me an explanation of how to run the code with my RGB images only - to get the measurements of the body Thank you very much! |
Oh sorry for late reply... Unfortunately, �what I've done is inferred using the A2S function. "attributes": [
2.4285714285714284,
2.5,
3.2857142857142856,
2.0714285714285716,
4.285714285714286,
3.0,
3.5,
3.9285714285714284,
3.357142857142857,
2.857142857142857,
1.4285714285714286,
1.7857142857142858,
3.0,
1.6428571428571428,
4.142857142857143
] to 3d mesh output. So i didn't use RGB images in this case. |
Hi
Thanks for this exciting project.
I am trying to run A2S using ModelAgence data.
I downloaded the ModelAgencydata, but it seemed impossible to use it for testing right away, so I checked the file
modeldata_for_a2s_mal.pt
and the filemodeldata_for_a2s_mal.pt
in the path of/shapy/samples/attributes
. And I pre-processed the data.When I followed your demo code below:
a) is worked well but the rest of the cases had very strange betas results like this:
Unlike a2s, ahcwh2s seems to require additional setup or previous steps, is that right? If so, which one do I need?
The text was updated successfully, but these errors were encountered: