Git Product home page Git Product logo

Comments (8)

zjcs avatar zjcs commented on May 26, 2024 1

@zjcs Hello, I have a similar issue. Did you manage to resolve it?

Please refer the above discussion.

from gaussianeditor.

zjcs avatar zjcs commented on May 26, 2024

You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
Some weights of UNetMV2DConditionModel were not initialized from the model checkpoint at lambdalabs/sd-image-variations-diffusers and are newly initialized because the shapes did not match:

  • conv_in.weight: found shape torch.Size([320, 4, 3, 3]) in the checkpoint and torch.Size([320, 8, 3, 3]) in the model instantiated
    You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
    use xformers.

When I use cfg.pretrained_model_name_or_path in UNetMV2DConditionModel.from_pretrained_2d, the above log occurs.

The checkpoint is wrong?

from gaussianeditor.

buaacyw avatar buaacyw commented on May 26, 2024

We use wonder3D to implement our add function. It looks like you have problem downloading the Wonder3D ckpt. I have never encountered this problem before. Could you please tell me the way you prepare your environment? Or you can try download the ckpt from wonder3D manually.

from gaussianeditor.

Dumeowmeow avatar Dumeowmeow commented on May 26, 2024

Did you run the sh download wonder3d.sh command?

from gaussianeditor.

john123zerg avatar john123zerg commented on May 26, 2024

from gaussianeditor.

john123zerg avatar john123zerg commented on May 26, 2024

from gaussianeditor.

zjcs avatar zjcs commented on May 26, 2024

Did you run the sh download wonder3d.sh command?

Sorry to reply late.

I just directly run the code and the checkpoint download directly via the huggingface.
At previouse time, I did two modifies following the origin wonder3D, and the final result is right:

  1. threestudio/utils/wonder3D/configs/mvdiffusion-joint-ortho-6views.yaml

#pretrained_model_name_or_path: 'lambdalabs/sd-image-variations-diffusers'
#pretrained_unet_path: './ckpts/'
pretrained_model_name_or_path: 'flamehaze1115/wonder3d-v1.0'

  1. threestudio/utils/wonder3D/test_mvdiffusion_seq.py

#unet = UNetMV2DConditionModel.from_pretrained_2d(cfg.pretrained_unet_path, subfolder="unet", revision=cfg.revision, **cfg.unet_from_pretrained_kwargs)
unet = UNetMV2DConditionModel.from_pretrained_2d(cfg.pretrained_model_name_or_path, subfolder="unet", revision=cfg.revision, **cfg.unet_from_pretrained_kwargs)

I will try bash wonder3d.sh later.

BTW, why these two places is different to the origin Wonder3D code? A better fine-tune checkpoint?

from gaussianeditor.

HaoZhiG avatar HaoZhiG commented on May 26, 2024

@zjcs Hello, I have a similar issue. Did you manage to resolve it?

from gaussianeditor.

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.