Skip to content

Commit 3c91599

Browse files
committed
Update README
1 parent aae864f commit 3c91599

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ The automatic generation of radiology reports has the potential to assist radiol
3333
## Setup
3434

3535
1. Create conda environment with "**conda env create -f environment.yml**"
36-
2. In src/path_datasets_and_weights.py, specify the paths to the various datasets (Chest ImaGenome, MIMIC-CXR, MIMIC-CXR-JPG), CheXbert weights, and folders in which the runs are saved. Follow the instructions of the doc string of path_datasets_and_weights.py.
36+
2. Install Java 1.8.0 (required for pycocoevalcap library, see https://pypi.org/project/pycocoevalcap/). On Ubuntu, you can install Java 1.8.0 with "**sudo apt install openjdk-8-jdk**".
37+
3. In src/path_datasets_and_weights.py, specify the paths to the various datasets (Chest ImaGenome, MIMIC-CXR, MIMIC-CXR-JPG), CheXbert weights, and folders in which the runs are saved. Follow the instructions of the doc string of path_datasets_and_weights.py.
3738

3839
## Create train, val and test csv files
3940

environment.yml

+4-7
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,8 @@ channels:
77
dependencies:
88
- spacy-model-en_core_web_trf
99
- pillow=9.2.0
10-
- pip=22.2.2=pyhd8ed1ab_0
11-
- python=3.9.13=h9a8a25e_0_cpython
12-
- python_abi=3.9=2_cp39
13-
- pytorch=1.12.1=py3.9_cuda11.6_cudnn8.3.2_0
14-
- pytorch-mutex=1.0=cuda
15-
- torchaudio=0.12.1=py39_cu116
16-
- torchvision=0.13.1=py39_cu116
10+
- pip=22.2.2
11+
- python=3.9.13
1712
- pip:
1813
- -e .
1914
- albumentations==1.1.0
@@ -45,7 +40,9 @@ dependencies:
4540
- tensorboard-plugin-wit==1.8.1
4641
- tensorboardx==2.5.1
4742
- tokenizers==0.12.1
43+
- torch==1.12.1
4844
- torchinfo==1.7.0
4945
- torchmetrics==0.9.3
46+
- torchvision==0.13.1
5047
- tqdm==4.64.0
5148
- transformers==4.19.2

0 commit comments

Comments
 (0)