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
Refer to [preprocess/README.md](./preprocess/README.md) file.
57
57
58
-
## 🚀 MaskGAN Training and Testing
59
-
- Sampled training script is provided in train.sh
60
-
- Modify image augmentations as needed `--load_size` (resize one dimension to be a fixed size), `--pad_size` (pad both dimensions to an equal size), `--crop_size` (crop both dimensions to an equal size).
61
-
- Train a model:
62
-
-`lambda_mask` and `lambda_shape` specify hyper-parameters of our proposed mask loss and shape consistency loss.
63
-
-`opt_level` specifies Apex mixed-precision optimization level. The default is `O0` which is full FP32 training. If low GPU memory, you can use O1 or O2 for mixed precision training.
-The results will be saved at `./results/exp_name`. Use `--results_dir {directory_path_to_save_result}` to specify the results directory. There will be four folders `fake_A`, `fake_B`, `real_A`, `real_B` created in `results`.
64
+
The results will be saved at `./results/exp_name`. Use `--results_dir {directory_path_to_save_result}` to specify the results directory. There will be four folders `fake_A`, `fake_B`, `real_A`, `real_B` created in `results`.
Results for MRI-to-CT synthesis generation and CT-to-MRI are shown.
99
84
85
+
## 🚀 MaskGAN Training
86
+
- Sampled training script is provided in train.sh
87
+
- Modify image augmentations as needed `--load_size` (resize one dimension to be a fixed size), `--pad_size` (pad both dimensions to an equal size), `--crop_size` (crop both dimensions to an equal size).
88
+
- Train a model:
89
+
-`lambda_mask` and `lambda_shape` specify hyper-parameters of our proposed mask loss and shape consistency loss.
90
+
-`opt_level` specifies Apex mixed-precision optimization level. The default is `O0` which is full FP32 training. If low GPU memory, you can use O1 or O2 for mixed precision training.
0 commit comments