facebookresearch / vfusion3d

[ECCV 2024] Code for VFusion3D: Learning Scalable 3D Generative Models from Video Diffusion Models
Other
420 stars 32 forks source link

Inference #12

Open tinudin opened 2 months ago

tinudin commented 2 months ago

Hi, thanks for you work. Tried to implement it, but unfortunatly when running the inference script i recieve the following error:

requests.exceptions.SSLError: (MaxRetryError("HTTPSConnectionPool(host='cdn-lfs.huggingface.co', port=443): Max retries exceeded with url:

The expected behaviour was: when downloading the model file from google Drive, this should be enough to run inference.

JunlinHan commented 2 months ago

Hello, thanks for your kind words!

Which inference script are you running? It seems to be a issue related to huggfingface, could you try commands like "python -m lrm.inferrer --export_video --resume ./checkpoints/vfusion3dckpt" which is not related to hf?

tinudin commented 2 months ago

python -m lrm.inferrer --export_mesh --resume ./checkpoints/vfusion3dckpt --source_path '.\assets\40_prompt_images\' This is what i tested.

JunlinHan commented 2 months ago

ok i got it, hf might be used somewhere when creating the model.

maybe your connection to hf is not stable? Could you try typing "ping huggingface.co" command to see if you can establish a connection to hf.

tinudin commented 2 months ago

that is not working. is it possible to run with only git?

JunlinHan commented 2 months ago

this part used hf functions: https://github.com/facebookresearch/vfusion3d/blob/main/lrm/models/encoders/dino_wrapper2.py

so far I don't have any other versions that can skip hf.

Here might be some useful links that can potentially fix the connection issues: https://www.google.com/search?q=no+connection+to+huggingface+requests.exceptions.SSLError%3A+%28MaxRetryError%28%22HTTPSConnectionPool%28host%3D%27cdn-lfs.huggingface.co%27%2C+port%3D443%29%3A+Max+retries+exceeded+with+url%3A&sca_esv=63ac0807f30938cd&sca_upv=1&sxsrf=ADLYWIIb1MukbZyU-KK-Lww6gMel99rA1A%3A1724095498930&ei=CpzDZv2xOJiHhbIP14je4QU&ved=0ahUKEwj93pae5IGIAxWYQ0EAHVeEN1wQ4dUDCBA&uact=5&oq=no+connection+to+huggingface+requests.exceptions.SSLError%3A+%28MaxRetryError%28%22HTTPSConnectionPool%28host%3D%27cdn-lfs.huggingface.co%27%2C+port%3D443%29%3A+Max+retries+exceeded+with+url%3A&gs_lp=Egxnd3Mtd2l6LXNlcnAipwFubyBjb25uZWN0aW9uIHRvIGh1Z2dpbmdmYWNlIHJlcXVlc3RzLmV4Y2VwdGlvbnMuU1NMRXJyb3I6IChNYXhSZXRyeUVycm9yKCJIVFRQU0Nvbm5lY3Rpb25Qb29sKGhvc3Q9J2Nkbi1sZnMuaHVnZ2luZ2ZhY2UuY28nLCBwb3J0PTQ0Myk6IE1heCByZXRyaWVzIGV4Y2VlZGVkIHdpdGggdXJsOjIFECEYoAEyBRAhGKABMgUQIRifBTIFECEYnwUyBRAhGJ8FMgUQIRifBTIFECEYnwUyBRAhGJ8FMgUQIRifBTIFECEYnwVIiTdQzjFY8TRwAngBkAEAmAHtAaAB7QGqAQMyLTG4AQPIAQD4AQH4AQKYAgOgAv0BwgIKEAAYsAMY1gQYR5gDAIgGAZAGCJIHBTIuMC4xoAe7Cw&sclient=gws-wiz-serp