Closed GYDDHPY closed 1 year ago
Or you may need to install a new version of monai if you can't run the code successfully.
The window_infer has a parameter **kwargs, So you can input any variables. The variables will be inputed in the forward function of the model (refer to the forward function of Diffusion Model).
Hi, thank you for your contributions.
I'm confused by the
window_infer
, which seems to be a MONAI function and is unable to handel the parameterpred_type="ddim_sample
.https://github.com/ge-xing/Diff-UNet/blob/14d55bd06bf59e9f4a06d8d08128d4422ba3b891/train.py#L80-L82
Thank you for your quick reply.
Hi, thank you for your contributions.
I'm confused by the
window_infer
, which seems to be a MONAI function and is unable to handel the parameterpred_type="ddim_sample
.https://github.com/ge-xing/Diff-UNet/blob/14d55bd06bf59e9f4a06d8d08128d4422ba3b891/train.py#L80-L82
https://github.com/ge-xing/Diff-UNet/blob/14d55bd06bf59e9f4a06d8d08128d4422ba3b891/train.py#L123-L128