You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove installation section in ldm2d and ldm3d readme (#1821)
Remove installation section in ldm2d and ldm3d readme for two reasons:
- No extra dependency need for this two tutorials for now.
- The link will be broken if we don't include the README file from the
upper level.
### 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: YunLiu <55491388+KumoLiu@users.noreply.github.com>
Disclaimer: We are not the host of the data. Please make sure to read the requirements and usage policies of the data and give credit to the authors of the dataset!
28
28
29
-
### 2. Installation
30
-
Please refer to the [Installation of MONAI Generative Model](../README.md)
The network configuration files are located in [./config/config_train_32g.json](./config/config_train_32g.json) for 32G GPU and [./config/config_train_16g.json](./config/config_train_16g.json) for 16G GPU. You can modify the hyperparameters in these files to suit your requirements.
37
34
@@ -74,7 +71,7 @@ An example reconstruction result is shown below:
The training script uses the batch size and patch size defined in the configuration files. If you have a different GPU memory size, you should adjust the `"batch_size"` and `"patch_size"` parameters in the `"diffusion_train"` to match your GPU. Note that the `"patch_size"` needs to be divisible by 16 and no larger than 256.
@@ -115,7 +112,7 @@ An example output is shown below.
115
112
<imgsrc="./figs/syn_3.jpeg"width="20%" >
116
113
</p>
117
114
118
-
### 4. Questions and bugs
115
+
### 3. Questions and bugs
119
116
120
117
- For questions relating to the use of MONAI, please use our [Discussions tab](https://github.com/Project-MONAI/MONAI/discussions) on the main repository of MONAI.
121
118
- For bugs relating to MONAI functionality, please create an issue on the [main repository](https://github.com/Project-MONAI/MONAI/issues).
Disclaimer: We are not the host of the data. Please make sure to read the requirements and usage policies of the data and give credit to the authors of the dataset!
28
28
29
-
### 2. Installation
30
-
Please refer to the [Installation of MONAI Generative Model](../README.md)
29
+
### 2. Run the example
31
30
32
-
### 3. Run the example
33
-
34
-
#### [3.1 3D Autoencoder Training](./train_autoencoder.py)
31
+
#### [2.1 3D Autoencoder Training](./train_autoencoder.py)
35
32
36
33
The network configuration files are located in [./config/config_train_32g.json](./config/config_train_32g.json) for 32G GPU
37
34
and [./config/config_train_16g.json](./config/config_train_16g.json) for 16G GPU.
@@ -73,7 +70,7 @@ torchrun \
73
70
74
71
With eight DGX1V 32G GPUs, it took around 55 hours to train 1000 epochs.
75
72
76
-
#### [3.2 3D Latent Diffusion Training](./train_diffusion.py)
73
+
#### [2.2 3D Latent Diffusion Training](./train_diffusion.py)
77
74
The training script uses the batch size and patch size defined in the configuration files. If you have a different GPU memory size, you should adjust the `"batch_size"` and `"patch_size"` parameters in the `"diffusion_train"` to match your GPU. Note that the `"patch_size"` needs to be divisible by 16.
@@ -112,7 +109,7 @@ An example output is shown below.
112
109
<imgsrc="./figs/syn_cor.png"width="30%" >
113
110
</p>
114
111
115
-
### 4. Questions and bugs
112
+
### 3. Questions and bugs
116
113
117
114
- For questions relating to the use of MONAI, please use our [Discussions tab](https://github.com/Project-MONAI/MONAI/discussions) on the main repository of MONAI.
118
115
- For bugs relating to MONAI functionality, please create an issue on the [main repository](https://github.com/Project-MONAI/MONAI/issues).
Copy file name to clipboardExpand all lines: modules/developer_guide.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -717,7 +717,7 @@
717
717
"id": "kvn_6mf9gZoA"
718
718
},
719
719
"source": [
720
-
"The following commands will start a `SupervisedTrainer` instance. As an extension of Pytorch ignite's facilities, it combines all the elements mentioned before. Calling `trainer.run()` will train the network for two epochs and compute `MeadDice` metric based on the training data at the end of every epoch.\n",
720
+
"The following commands will start a `SupervisedTrainer` instance. As an extension of Pytorch ignite's facilities, it combines all the elements mentioned before. Calling `trainer.run()` will train the network for two epochs and compute `MeanDice` metric based on the training data at the end of every epoch.\n",
721
721
"\n",
722
722
"The `key_train_metric` is used to track the progress of model quality improvement. Additional handlers could be set to do early stopping and learning rate scheduling.\n",
Copy file name to clipboardExpand all lines: modules/interpretability/class_lung_lesion.ipynb
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@
29
29
"\n",
30
30
"For the demo data:\n",
31
31
"- Please see the `bbox_gen.py` script for generating the patch classification data from MSD task06_lung (available via `monai.apps.DecathlonDataset`);\n",
32
-
"- Alternatively, the patch dataset (~130MB) is available for direct downloading at: https://drive.google.com/drive/folders/1pQdzdkkC9c2GOblLgpGlG3vxsSK9NtDx\n",
32
+
"- Alternatively, the patch dataset (~130MB) is available for direct downloading at: https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/lung_lesion_patches.tar.gz\n",
33
33
"\n",
34
34
"[](https://colab.research.google.com/github/Project-MONAI/tutorials/blob/main/modules/interpretability/class_lung_lesion.ipynb)"
0 commit comments