ParthaEth / GIF

GIF is a photorealistic generative face model with explicit 3D geometric and photometric control.
https://gif.is.tue.mpg.de/
MIT License
405 stars 63 forks source link

error: verts, faces, aux = load_obj(obj_filename) #29

Closed RuningMangoPi closed 1 year ago

RuningMangoPi commented 2 years ago

Hi, thanks for your great work! I have completed the configuration followed first thing first section of the read me, But when I run python generate_random_samples.py , I got some errors, Can you give me some proposal!thanks!

../GIF-master/my_utils/photometric_optimization/renderer.py line 94 verts, faces, aux = load_obj(obj_filename) #line:93 uvcoords = aux.verts_uvs[None, ...] # (N, V, 2) line:94

File "../GIF-master/my_utils/photometric_optimization/renderer.py", line 94, in init TypeError: 'NoneType' object is not subscriptable

valsevalse commented 2 years ago

You need to run git lfs pull to actually get the head_template_mesh.obj file

valsevalse commented 2 years ago

It's in the main folder of the repository

On Sun, Oct 9, 2022 at 4:12 AM Fangchenxi @.***> wrote:

You need to run git lfs pull to actually get the head_template_mesh.obj Where can I download the head_template_mesh.obj? I can't find the resource in the website, can you figure out my question, thank you!

— Reply to this email directly, view it on GitHub https://github.com/ParthaEth/GIF/issues/29#issuecomment-1272433070, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJK23JSXI34FQRCNYLAK7ZDWCISZHANCNFSM6AAAAAAQP7TCWU . You are receiving this because you commented.Message ID: @.***>

-- Andrea Valsecchi Senior Researcher Panacea Cooperative Research

ParthaEth commented 1 year ago

hope that helped