Skip to content

Commit 0fda631

Browse files
ericspodKumoLiu
andauthored
LDM Script Fix (#1785)
Fixes # . ### Description Fixes an old reference in one of the example LDM script files. ### Checks <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [ ] Avoid including large-size files in the PR. - [ ] Clean up long text outputs from code cells in the notebook. - [ ] For security purposes, please check the contents and remove any sensitive info such as user names and private key. - [ ] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the `./figure` folder - [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>` Signed-off-by: Eric Kerfoot <eric.kerfoot@kcl.ac.uk> Co-authored-by: YunLiu <55491388+KumoLiu@users.noreply.github.com>
1 parent 03ff5c5 commit 0fda631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

generation/3d_ldm/inference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import nibabel as nib
2121
import numpy as np
2222
import torch
23-
from generative.inferers import LatentDiffusionInferer
24-
from generative.networks.schedulers import DDPMScheduler
23+
from monai.inferers import LatentDiffusionInferer
24+
from monai.networks.schedulers import DDPMScheduler
2525
from monai.config import print_config
2626
from monai.utils import set_determinism
2727

0 commit comments

Comments
 (0)