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 stochastic sampler #673

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
2 changes: 1 addition & 1 deletion examples/generative/corrdiff/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def main(cfg: DictConfig) -> None:
elif cfg.sampler.type == "stochastic":
sampler_fn = partial(
stochastic_sampler,
img_shape=img_shape[1],
img_shape = (img_shape[1],img_shape[0]),
patch_shape=patch_shape[1],
boundary_pix=cfg.sampler.boundary_pix,
overlap_pix=cfg.sampler.overlap_pix,
Expand Down
Loading