Skip to content

Commit

Permalink
filter other labels
Browse files Browse the repository at this point in the history
Signed-off-by: Can-Zhao <[email protected]>
  • Loading branch information
Can-Zhao committed Feb 19, 2025
1 parent f62ddd6 commit ce3532d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/maisi_ct_generative/scripts/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,7 @@ def sample_multiple_images(self, num_img):
self.output_dir, "sample_" + output_postfix + "_image" + self.image_output_ext
)
# filter out the organs that are not in anatomy_list
# synthetic_labels = filter_mask_with_organs(synthetic_labels, self.anatomy_list)
synthetic_labels = filter_mask_with_organs(synthetic_labels, self.anatomy_list)
label_saver = SaveImage(
output_dir=self.output_dir,
output_postfix=output_postfix + "_label",
Expand Down

0 comments on commit ce3532d

Please sign in to comment.