Update README.md
Browse files
README.md
CHANGED
@@ -44,10 +44,10 @@ from torchvision.utils import make_grid
|
|
44 |
|
45 |
# Device and paths:
|
46 |
device = 'cuda'
|
47 |
-
physionet_dir = '/.../physionet.org/files'
|
48 |
-
dataset_dir = '/.../datasets'
|
49 |
-
database_path = '/.../database/cxrmate_ed.db'
|
50 |
-
mimic_cxr_jpg_dir = '/.../physionet.org/files/mimic-cxr-jpg/2.0.0/files'
|
51 |
|
52 |
# Download model checkpoint:
|
53 |
model = transformers.AutoModel.from_pretrained('aehrc/cxrmate-ed', trust_remote_code=True).to(device=device)
|
|
|
44 |
|
45 |
# Device and paths:
|
46 |
device = 'cuda'
|
47 |
+
physionet_dir = '/.../physionet.org/files' # Where MIMIC-CXR, MIMIC-CXR-JPG, and MIMIC-IV-ED are stored.
|
48 |
+
dataset_dir = '/.../datasets' # Some outputs of prepare_data() will be stored here, e.g, the report sections.
|
49 |
+
database_path = '/.../database/cxrmate_ed.db' # The DuckDB database used to manage the tables of the dataset will be saved here.
|
50 |
+
mimic_cxr_jpg_dir = '/.../physionet.org/files/mimic-cxr-jpg/2.0.0/files' # The path to the JPG images of MIMIC-CXR-JPG. This could be different to physionet_dir to leverage faster storage.
|
51 |
|
52 |
# Download model checkpoint:
|
53 |
model = transformers.AutoModel.from_pretrained('aehrc/cxrmate-ed', trust_remote_code=True).to(device=device)
|