lllyasviel / Paints-UNDO

Understand Human Behavior to Align True Needs
Apache License 2.0
3.25k stars 287 forks source link

About huggingface path and local path #20

Open journey-zhuang opened 1 month ago

journey-zhuang commented 1 month ago

I have changed the huggingface path to the local path, but an error was reported as follows photo: 截屏2024-07-10 18 00 12

model_name = 'lllyasviel/paints_undo_single_frame' after modification for the local path can run, but video_pipe = LatentVideoDiffusionPipeline.from_pretrained( 'lllyasviel/paints_undo_multi_frame', fp16=True ) not line, I tried to check the code, including from_pretrained and snapshot_download. In theory, it should support local loading, and the usage should be the same as normal from_pretrained, but in fact, the program reported an error

journey-zhuang commented 1 month ago

I have solved this problem by modifying the internal code, thanks to your excellent work!