Open sam-may opened 4 years ago
@jkguiang since we are still waiting on getting you and Amir access to the OSG machine where I have the full (deidentified) sets of CT scans stored, here is one option we could do:
prp-gpu-1
machine and you can use this to work on the necessary modifications to data prep (e.g. in utils.py
and data_helper.py
).hdf5
file to prp-gpu-1
.Edit: I am transferring the Russia cohort of patients (50 patients, but fewer slices/patient and lower resolution than the Wuhan cohort so it's much smaller in size) to /xilinx/scratch/covid_ct_data/russia
on prp-gpu-1
.
Baseline 2d model uses only the single CT slice of interest in predicting pneumonia. A 2.5d model would use the
n
slices above/below the slice of interest as additional training features.How to add the additional
2n
slices? Some options:M x M x 1
toM x M x (2n + 1)
2n + 1
separate input images (this seems less elegant, and I don't see a real advantage in doing it this way)How to implement?
load_dcms
https://github.com/sam-may/Covid-19-Pneumonia/blob/master/utils.py#L20-L38 which returns an array of2n + 1
-channel images rather than1
-channel images as is currently done.data_helper.py
probably will need to be updated as well: https://github.com/sam-may/Covid-19-Pneumonia/blob/master/data_helper.py#L133-L136 https://github.com/sam-may/Covid-19-Pneumonia/blob/master/data_helper.py#L160-L1691
->2n + 1
in this line: https://github.com/sam-may/Covid-19-Pneumonia/blob/master/models.py#L85How to compare?