Open DaddyWesker opened 2 years ago
Hi. Thank you for your interest in our work.
I think you might install the wrong neural_renderer. The correct repo should be https://github.com/daniilidis-group/neural_renderer, which does not require cupy.
That is the exactly neural_renderer i've cloned and installed.
That is weird. My machine did not run into this error. Could you please run some tests on the installed neural_renderer, e.g. https://github.com/daniilidis-group/neural_renderer#example-3-optimizing-textures, to test if your neural_renderer is correctly installed? Thanks.
All four examples are working well.
Well, I've been able to beat this problem (i've installed neural renderer from here https://github.com/adambielski/neural_renderer), but now i'm facing another one.
Start generating coarse body shape given the target text: a 3d rendering of a strong man in unreal engine
Traceback (most recent call last):
File "main.py", line 144, in <module>
args.neutral_txt, args.target_txt)
File "main.py", line 95, in shape_gen
gender = smpl_args['gender'], num_betas = smpl_args['num_betas']).cuda()
File "/home/daddywesker/anaconda3/envs/AvatarCLIP/lib/python3.7/site-packages/smplx/body_models.py", line 2335, in build_layer
return SMPLLayer(model_path, **kwargs)
File "/home/daddywesker/anaconda3/envs/AvatarCLIP/lib/python3.7/site-packages/smplx/body_models.py", line 406, in __init__
**kwargs,
File "/home/daddywesker/anaconda3/envs/AvatarCLIP/lib/python3.7/site-packages/smplx/body_models.py", line 134, in __init__
smpl_path)
AssertionError: Path ../../smpl_models does not exist!
I guess there is some problem with smpl. As i understand, i should download and put those smpl models somewhere.
You need to download smpl models and put them in certain places. You might want to check this out https://github.com/hongfz16/AvatarCLIP#download-smpl-models.
Yeah, I've missed that part. Thanks. Now it works. Closing.
Well, here is some question. I've launched several times your model and here is what i've got.
This is a strong man
This is a fat man
And this is the slim woman
I'd say results are rather poor. Am i doing something wrong? I've seen your examples and they are better.
Hello and thanks for your code.
I've been trying to launch your example of avatar rendering using pretrained model
python main.py --target_txt 'a 3d rendering of a strong man in unreal engine'
I have created conda env using command you've provided. But when I'm launching this command I'm getting
Any advice?
Well, yes, there is a cupy warning also, but i cannot install cupy of those versions. There is an error which, as i've searched on the web, is fixed in newer versions.