Skip to content

Commit

Permalink
bash mappings.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
zapaishchykova committed Aug 10, 2023
1 parent 8092bdf commit af9d3a3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
Empty file added .Rhistory
Empty file.
15 changes: 1 addition & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,7 @@ The `annotation.csv` has a following structure (with no header):

## Tutorial

1. **Prepare the dataset:**

- **Option 1 - Provide a mappings.csv file**

Create a `mappings.csv` file in the inputs folder specifying the `img_path` and the respective `mask_path`. Se bellow an example of the content of this file:
```
img_path,mask_path
data/1.nrrd,/path/to/respective/1_mask.nii.gz
data/2.nii.gz,/path/to/respective/2_mask.nii.gz
...
```
> :warning: The name of the file must be `mappings.csv` and the first line must contain the column names `img_path` and `mask_path`.
- **Option 2 - Structure the input data folder (only works for nifti)**
1. **Prepare the dataset:Structure the input data folder (only works for nifti)**

To get started, create a folder with the following file structure:

Expand Down
4 changes: 0 additions & 4 deletions example_dataset/mappings.csv

This file was deleted.

0 comments on commit af9d3a3

Please sign in to comment.