Coder Social home page Coder Social logo

Comments (4)

jychoi118 avatar jychoi118 commented on June 8, 2024

Did you check the model flag when you run the script? For example:
--learn_sigma True --num_channels 128 --num_head_channels 64 --num_res_blocks 1 --resblock_updown True --use_scale_shift_norm True

from ilvr_adm.

sooyalim avatar sooyalim commented on June 8, 2024

Thanks for the reply!!!! I could generate some samples with your help.

I will enjoy changing the number of N and range t to produce various results.

Thanks again for helping me out!

from ilvr_adm.

FayeGGG avatar FayeGGG commented on June 8, 2024

Did you check the model flag when you run the script? For example: --learn_sigma True --num_channels 128 --num_head_channels 64 --num_res_blocks 1 --resblock_updown True --use_scale_shift_norm True

Hi, I also met this RuntimeError: Error(s) in loading state_dict for UNetModel: when I want to run the code on my own dataset.

There is my code to run the script:
python scripts/ilvr_sample.py --attention_resolutions 16 --class_cond False --diffusion_steps 1000 --dropout 0.0 --image_size 512 --learn_sigma True --noise_schedule linear --num_channels 128 --num_head_channels 64 --num_res_blocks 3 --resblock_updown True --use_fp16 False --use_scale_shift_norm True --timestep_respacing 100 --model_path models/512x512_diffusion.pt --base_samples ref_imgs/magnetogram/500G --down_N 32 --range_t 20 --save_dir output/magnetogram_N32

Could you please tell me how to solve this problem? @jychoi118
Thanks a lot!!!

from ilvr_adm.

LZX-ZNRA avatar LZX-ZNRA commented on June 8, 2024

My problem is also #2 (comment).

Could you please provide a way to solve it. Thanks. @jychoi118

from ilvr_adm.

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.