Skip to content

Commit

Permalink
exp data preparation migrate from 2d to 3d
Browse files Browse the repository at this point in the history
  • Loading branch information
Ultimate-Storm committed Oct 27, 2023
1 parent 574b4eb commit 4efae4e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,20 +161,20 @@ mkdir workspace/<workspace-name>/user/data-and-scratch/data/WP1
mkdir workspace/<workspace-name>/user/data-and-scratch/data/WP1/{test,train_val}
```
3. Search for your institution in the [Node list](#nodelist) and note the data series in the column "Data"
4. Copy the clinic table and slide table into WP1

4. Prepare the clinical tables
```sh
cp workspace/<workspace-name>/user/data-and-scratch/data/{clinical_table,slide_table}.csv workspace/<workspace-name>/user/data-and-scratch/data/WP1
cp workspace/<workspace-name>/user/data-and-scratch/data/*.xlsx workspace/<workspace-name>/user/data-and-scratch/data/WP1
```
5. Copy the features from feature folder into `WP1/test` from 801 to 922

5. Copy the nifty files from feature folder into `WP1/test` from 801 to 922
```sh
cp workspace/<workspace-name>/user/data-and-scratch/data/features_odelia_sub_imagenet/Breast_MRI_{801..922}_{right,left}.h5 workspace/<workspace-name>/user/data-and-scratch/data/WP1/test
cp -r workspace/<workspace-name>/user/data-and-scratch/data/odelia_dataset_only_sub/{801..922}_{right,left} workspace/<workspace-name>/user/data-and-scratch/data/WP1/test
```

6. Copy the features from feature folder with the order you noted into `WP1/train_val` from xxx to yyy
6. Copy the nifty files from feature folder with the order you noted into `WP1/train_val` from xxx to yyy
```sh
cp workspace/<workspace-name>/user/data-and-scratch/data/features_odelia_sub_imagenet/Breast_MRI_{<first_number>..<second_number>}_{right,left}.h5 workspace/<workspace-name>/user/data-and-scratch/data/WP1/train_val
cp -r workspace/<workspace-name>/user/data-and-scratch/data/odelia_dataset_only_sub/{<first_number>..<second_number>} workspace/<workspace-name>/user/data-and-scratch/data/WP1/train_val
```

### Running Swarm Learning Nodes
Expand Down

0 comments on commit 4efae4e

Please sign in to comment.