Giter VIP home page Giter VIP logo

Comments (10)

hben35096 avatar hben35096 commented on August 18, 2024 1

@g711ab

image
这些文件都是必要的

from dynamicrafter.

g711ab avatar g711ab commented on August 18, 2024 1

First the version should be put under params like what I have mentioned here:

    cond_stage_config:
      target: lvdm.modules.encoders.condition.FrozenOpenCLIPEmbedder
      params:
        version: "xxxxx"
        freeze: true
        layer: "penultimate"

    img_cond_stage_config:
      target: lvdm.modules.encoders.condition.FrozenOpenCLIPImageEmbedderV2
      params:
        version: "xxxx"
        freeze: true

Second, what files were originally in your folder of blobs (instead of .bin)?

thank you very much! it's worked.

stone01_01_sample0.mp4

very smooth

from dynamicrafter.

Doubiiu avatar Doubiiu commented on August 18, 2024

I am not sure about that, which is related to your own configuration.
One possible solution is adding
version: "<path to this bin file in your computer>"
under the params of cond_stage_config and img_cond_stage_config in each config yaml:

    cond_stage_config:
      target: lvdm.modules.encoders.condition.FrozenOpenCLIPEmbedder
      params:
        version: "<path to this bin file in your computer>"
        freeze: true
        layer: "penultimate"

    img_cond_stage_config:
      target: lvdm.modules.encoders.condition.FrozenOpenCLIPImageEmbedderV2
      params:
        version: "<path to this bin file in your computer>"
        freeze: true

I am not sure if it works or not and you can have a try.

from dynamicrafter.

hben35096 avatar hben35096 commented on August 18, 2024

我的主机不能访问huggingface,/laion/CLIP-ViT-H-14-laion2B-s32B-b79K/resolve/main/open_clip_pytorch_model.bin 这个文件已经下载到本地,请问应该放到哪个目录下,谢谢!

https://www.codewithgpu.com/m/dynamicrafter_mo

hub.zip
解压后放入
/root/.cache/huggingface

如果是Windows系统,估计在:
C:\Users\这里是你的用户名.cache\huggingface

from dynamicrafter.

g711ab avatar g711ab commented on August 18, 2024

I am not sure about that, which is related to your own configuration. One possible solution is adding version: "<path to this bin file in your computer>" under the params of cond_stage_config and img_cond_stage_config in each config yaml:

    cond_stage_config:
      target: lvdm.modules.encoders.condition.FrozenOpenCLIPEmbedder
      params:
        version: "<path to this bin file in your computer>"
        freeze: true
        layer: "penultimate"

    img_cond_stage_config:
      target: lvdm.modules.encoders.condition.FrozenOpenCLIPImageEmbedderV2
      params:
        version: "<path to this bin file in your computer>"
        freeze: true

I am not sure if it works or not and you can have a try.

thank you for reply, but it is not work for me

from dynamicrafter.

g711ab avatar g711ab commented on August 18, 2024

我的主机不能访问huggingface,/laion/CLIP-ViT-H-14-laion2B-s32B-b79K/resolve/main/open_clip_pytorch_model.bin 这个文件已经下载到本地,请问应该放到哪个目录下,谢谢!

https://www.codewithgpu.com/m/dynamicrafter_mo

hub.zip 解压后放入 /root/.cache/huggingface

如果是Windows系统,估计在: C:\Users\这里是你的用户名.cache\huggingface

非常感谢,路径已找到 .cache/huggingface/hub/models--laion--CLIP-ViT-H-14-laion2B-s32B-b79K/snapshots/de081ac0a0ca8dc9d1533eed1ae884bb8ae1404b/ 但还是不行

from dynamicrafter.

Doubiiu avatar Doubiiu commented on August 18, 2024

我的主机不能访问huggingface,/laion/CLIP-ViT-H-14-laion2B-s32B-b79K/resolve/main/open_clip_pytorch_model.bin 这个文件已经下载到本地,请问应该放到哪个目录下,谢谢!

https://www.codewithgpu.com/m/dynamicrafter_mo
hub.zip 解压后放入 /root/.cache/huggingface
如果是Windows系统,估计在: C:\Users\这里是你的用户名.cache\huggingface

非常感谢,路径已找到 .cache/huggingface/hub/models--laion--CLIP-ViT-H-14-laion2B-s32B-b79K/snapshots/de081ac0a0ca8dc9d1533eed1ae884bb8ae1404b/ 但还是不行

Maybe you can try my above solution by changing version path as <your path>/models--laion--CLIP-ViT-H-14-laion2B-s32B-b79K/blobs/<the file with filesize of ~4GB>

from dynamicrafter.

g711ab avatar g711ab commented on August 18, 2024

.cache/huggingface/hub/models--laion--CLIP-ViT-H-14-laion2B-s32B-b79K/

cond_stage_config:
  version: "/home/testaa/.cache/huggingface/hub/models--laion--CLIP-ViT-H-14-laion2B-s32B-b79K/blobs/open_clip_pytorch_model.bin"
  target: lvdm.modules.encoders.condition.FrozenOpenCLIPEmbedder
  params:
    freeze: true
    layer: "penultimate"

img_cond_stage_config:
  version: "/home/testaa/.cache/huggingface/hub/models--laion--CLIP-ViT-H-14-laion2B-s32B-b79K/blobs/open_clip_pytorch_model.bin"
  target: lvdm.modules.encoders.condition.FrozenOpenCLIPImageEmbedderV2
  params:
    freeze: true

thank you ,it's my config file,This issue has not been resolved.

from dynamicrafter.

Doubiiu avatar Doubiiu commented on August 18, 2024

First the version should be put under params like what I have mentioned here:

    cond_stage_config:
      target: lvdm.modules.encoders.condition.FrozenOpenCLIPEmbedder
      params:
        version: "xxxxx"
        freeze: true
        layer: "penultimate"

    img_cond_stage_config:
      target: lvdm.modules.encoders.condition.FrozenOpenCLIPImageEmbedderV2
      params:
        version: "xxxx"
        freeze: true

Second, what files were originally in your folder of blobs (instead of .bin)?

from dynamicrafter.

g711ab avatar g711ab commented on August 18, 2024

@g711ab

image 这些文件都是必要的

感谢,已经好了

from dynamicrafter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.