Anirudh Balaraman commited on
Commit
402190d
ยท
unverified ยท
1 Parent(s): c1c1134

Revise PI-RADS and csPCa model training details

Browse files

Updated training section and removed duplicate note about input file requirements.

Files changed (1) hide show
  1. README.md +10 -8
README.md CHANGED
@@ -62,8 +62,7 @@ Run run_inference.py to execute the full pipeline, from preprocessing to model p
62
  - *t2_dir, dwi_dir, adc_dir*: Path to T2W, DWI and ADC sequnces respectively.
63
  - *output_dir*: Path to store preprocessed files and results.
64
 
65
-
66
- โš ๏ธ ***NOTE: For each scan, all sequences should share the same filename, and the input files must be in NRRD format.***
67
 
68
  - ๐Ÿ“Š **Outputs:**
69
  The following are stored for each scan:
@@ -84,17 +83,20 @@ python preprocess_main.py \
84
  ```
85
 
86
 
87
- ### โš™๏ธ PI-RADS Training
 
 
 
 
 
 
 
88
 
89
  ```bash
90
  python run_pirads.py --mode train --config config/config_pirads_train.yaml
91
- ```
92
-
93
- ### โš™๏ธ csPCa Training
94
-
95
- ```bash
96
  python run_cspca.py --mode train --config config/config_cspca_train.yaml
97
  ```
 
98
  ### ๐Ÿ“Š Testing
99
 
100
  ```bash
 
62
  - *t2_dir, dwi_dir, adc_dir*: Path to T2W, DWI and ADC sequnces respectively.
63
  - *output_dir*: Path to store preprocessed files and results.
64
 
65
+ โš ๏ธ ***NOTE: For each scan, all sequences should share the same filename, and the input files must be in NRRD format.***
 
66
 
67
  - ๐Ÿ“Š **Outputs:**
68
  The following are stored for each scan:
 
83
  ```
84
 
85
 
86
+ ### โš™๏ธ PI-RADS ans csPCa Model Training
87
+ - **Input Arguments:**
88
+ -*dataset_json*: File paths of the scans. JSON used for training: `dataset/PI-RADS_data.json`.
89
+ -*data_root*: Root direcotry of T2W files.
90
+ -*tile_count*: No. of patches per scan.
91
+ -*tile_size*: Length and width of each patch.
92
+ -*depth*: Depth of each 3D patch
93
+ โš ๏ธ ***NOTE: run_cspca.py in train mode requires PI-RADS MIL backbone.***
94
 
95
  ```bash
96
  python run_pirads.py --mode train --config config/config_pirads_train.yaml
 
 
 
 
 
97
  python run_cspca.py --mode train --config config/config_cspca_train.yaml
98
  ```
99
+
100
  ### ๐Ÿ“Š Testing
101
 
102
  ```bash