katielink commited on
Commit
6f4b8b3
1 Parent(s): 6cd5d50

remove unused saver in inference

Browse files
Files changed (2) hide show
  1. configs/inference.json +0 -6
  2. configs/metadata.json +2 -1
configs/inference.json CHANGED
@@ -93,12 +93,6 @@
93
  "_requires_": "@set_timesteps"
94
  },
95
  "sample": "[email protected]_fn(@noise, @autoencoder, @diffusion, @noise_scheduler)",
96
- "saver": {
97
- "_target_": "SaveImage",
98
- "_requires_": "@create_output_dir",
99
- "output_dir": "@output_dir",
100
- "output_postfix": "@output_postfix"
101
- },
102
  "generated_image": "$@sample",
103
  "generated_image_np": "$@generated_image[0,0].cpu().numpy().transpose(1, 0)[::-1, ::-1]",
104
  "img_pil": "$Image.fromarray(visualize_2d_image(@generated_image_np), 'RGB')",
 
93
  "_requires_": "@set_timesteps"
94
  },
95
  "sample": "[email protected]_fn(@noise, @autoencoder, @diffusion, @noise_scheduler)",
 
 
 
 
 
 
96
  "generated_image": "$@sample",
97
  "generated_image_np": "$@generated_image[0,0].cpu().numpy().transpose(1, 0)[::-1, ::-1]",
98
  "img_pil": "$Image.fromarray(visualize_2d_image(@generated_image_np), 'RGB')",
configs/metadata.json CHANGED
@@ -1,7 +1,8 @@
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_generator_ldm_20230507.json",
3
- "version": "1.0.1",
4
  "changelog": {
 
5
  "1.0.1": "fix inference folder error",
6
  "1.0.0": "Initial release"
7
  },
 
1
  {
2
  "schema": "https://github.com/Project-MONAI/MONAI-extra-test-data/releases/download/0.8.1/meta_schema_generator_ldm_20230507.json",
3
+ "version": "1.0.2",
4
  "changelog": {
5
+ "1.0.2": "remove unused saver in inference",
6
  "1.0.1": "fix inference folder error",
7
  "1.0.0": "Initial release"
8
  },