Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update cc12m_256x256.yaml with diffusion_config addition and use null as a correct version of None #13

Closed
wants to merge 2 commits into from

Conversation

tolgacangoz
Copy link
Contributor

@tolgacangoz tolgacangoz commented Sep 23, 2024

Proposes to fix #10

  1. This pull request updates the cc12m_256x256.yaml and cc12m_1024x1024.yaml files by adding a diffusion_config section because samplers are created with diffusion_config.sampler_config:

    self.sampler = samplers.Sampler(diffusion_config.sampler_config)

    self.sampler = samplers.NestedSampler(diffusion_config.sampler_config)

  2. Also, diffusion_config.no_use_residual is needed:

    if not self.diffusion_config.no_use_residual:

  3. None in the file is read by 'None' -as a string.

@jlukecarlson

@tolgacangoz tolgacangoz changed the title Update cc12m_256x256.yaml with diffusion_config addition and null as correct None Update cc12m_256x256.yaml with diffusion_config addition and use null as a correct version of None Sep 23, 2024
@tolgacangoz tolgacangoz deleted the fix-yaml-256 branch October 11, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant