Skip to content

Commit f9d6e5b

Browse files
authored
Update README.md
1 parent 471ceac commit f9d6e5b

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

README.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,32 @@ pip install -e .
3131
## Codebase description
3232
All files related to the model are stored in the `IMPA` folder.
3333

34-
* `checkpoint.py`: implements the util class for handling saving and loading checkpoints.
34+
* `checkpoint.py`: implements the util class for saving and loading checkpoints.
3535
* `main_hydra.py`: calls the `Solver` class and implements training supported by [hydra](https://hydra.cc/docs/1.3/intro/).
3636
* `model.py`: implements the neural network modules and initialization function.
3737
* `solver.py`: contains the `Solver` class implementing the model setup, data loading and training loop.
3838
* `utils.py`: contains helper functions.
3939
* `eval/eval.py`: contains the evaluation script used during training by the `Solver` class.
4040
* `dataset/data_loader.py`: implements `torch` dataset and data loader wrappers around the image data.
4141
* `dataset/data_utils.py`: implements utilfunctions for the data loader.
42+
43+
## Set up
44+
45+
Setting up the repository requires creating a project folder.
46+
47+
```
48+
cd IMPA
49+
mkdir project_folder
50+
```
51+
52+
One can also create the project folder elsewhere, e.g. a directory with larger storage capacity, and create a symlink from the IMPA directory to the chosen project folder location:
53+
54+
```
55+
cd IMPA
56+
ln -s path/to/storage/folder/ project_folder
57+
```
58+
59+
Subsequently, download the data (and the model checkpoints) [here](https://zenodo.org/record/8307629). Unzip and move the dataset folder to `IMPA/project folder`. The checkpoints should be at `IMPA/checkpoints`.
4260

4361
## Train the models
4462

@@ -57,8 +75,10 @@ sbatch training_config.sbatch
5775

5876
And the script will be submitted automatically.
5977

60-
To train the model with the provided yaml files, adapt the `.yaml` files to the experimental setup (*i.e.* add path strings referencing the used directories).
78+
To train the model with the provided yaml files, adapt the `.yaml` files to the experimental setup (*i.e.* add path strings referencing the used directories).
6179

80+
## Tutorials
81+
Tutorials are available in the `IMPA/tutorials` folder as notebooks.
6282

6383
## Dataset and checkpoints
6484
Model checkpoints and pre-processed data are made available [here](https://zenodo.org/record/8307629).

0 commit comments

Comments
 (0)