radekd91 / inferno

🔥🔥🔥 Set the world of 3D faces on fire with INFERNO 🔥🔥🔥
Other
179 stars 21 forks source link

EMOTE: issues about spectre and SWIN #18

Open zemooo7 opened 6 months ago

zemooo7 commented 6 months ago

_cgi-bin_mmwebwx-bin_webwxgetmsgimg__ MsgID=2576463121843906321 skey=@crypt_c3b5bd03_499489a85c5b16a437a4629a15903b9e mmweb_appid=wx_webfilehelper Encountered these errors while running demo_eval_talking_head_on_audio.py. But I already have pulled submodules, and have tried many times. But it still gives errors. How should I solve this?

radekd91 commented 6 months ago

Your error has nothing to do with SWIN or SPECTRE as the import of those modules is optional and the related prints you see are merely prints (and not crashes).

It appears to be your crash us related to the first AttributeError in your screenshot and this appears to be a different issue entirely. I don't think this is cause by inferno, it seem like it is a different issue entirely.

zemooo7 commented 6 months ago

_cgi-bin_mmwebwx-bin_webwxgetmsgimg__ MsgID=8523430950909726364 skey=@crypt_c3b5bd03_499489a85c5b16a437a4629a15903b9e mmweb_appid=wx_webfilehelper AttributeError solved, but still no result. There is a last.ckpt file in path EMOTE_v2/checkpoints/ , why “did not find checkpoints”? @radekd91

Your error has nothing to do with SWIN or SPECTRE as the import of those modules is optional and the related prints you see are merely prints (and not crashes).

It appears to be your crash us related to the first AttributeError in your screenshot and this appears to be a different issue entirely. I don't think this is cause by inferno, it seem like it is a different issue entirely.

radekd91 commented 6 months ago

It seem the function that is looking for checkpoints can't find anything which should not be the case.

It could be this statement: https://github.com/radekd91/inferno/blob/master/inferno/models/IO.py#L40 or https://github.com/radekd91/inferno/blob/master/inferno/models/IO.py#L43

Can you try to put a breakpoint there and see what's happening? Check the path, if it exists and so on.

zemooo7 commented 6 months ago

It seem the function that is looking for checkpoints can't find anything which should not be the case.

It could be this statement: https://github.com/radekd91/inferno/blob/master/inferno/models/IO.py#L40 or https://github.com/radekd91/inferno/blob/master/inferno/models/IO.py#L43

Can you try to put a breakpoint there and see what's happening? Check the path, if it exists and so on.

Thank you, it was an issue with the path not existing. I had modified the assets path and the path_to_model in parse_args, which caused evaluation_function.py to not find the path. I have successfully run it now, and importing the generated .obj file into Blender shows that the result is correct. The only remaining issue is that "pyrender failed rendering frame", causing no video output.

radekd91 commented 6 months ago

That is an issue with your pyrender / OpenGL installation. OpenGL is likely not available for some reason. This happens if you're running on a headless system or if you don't have openGL support or the OpenGL is broken.