Organ-aware 3D lesion segmentation dataset and pipeline for abdominal CT analysis (ACM Multimedia 2025 candidate)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

monai_segmentation.py 327B

12345678910111213
  1. from monai.bundle import ConfigParser
  2. config_path = "monai_wholeBody_ct_segmentation/configs/inference.json"
  3. parser = ConfigParser()
  4. parser.read_config(config_path)
  5. evaluator = parser.get_parsed_content("evaluator")
  6. try:
  7. evaluator.run()
  8. except Exception as e:
  9. print(f"⚠️ خطا در اجرای evaluator: {e}")