Skip to content

Commit 3d66979

Browse files
authored
Update README.md
1 parent ebed018 commit 3d66979

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,12 @@ chmod 744 init.sh preprocess.sh train.sh
1111
```
1212

1313
Then run init.sh in order to install necessary packages:
14+
```bash
1415
./init.sh
16+
```
1517

1618
Then, remove unnecessary files and split the data before preprocessing it:
19+
```bash
1720
find raw_data ! -name '*.ts' -type f -exec rm -f {} +
1821
scripts/splitData.sh raw_data 80
1922
cd raw_data
@@ -23,10 +26,13 @@ mv train_dir_tmp/test_dir train_dir_tmp/val_dir
2326
mv train_dir_tmp/* .
2427
cd ..
2528
rmdir raw_data/train_dir_tmp
29+
```
2630

2731
To preprocess, run the following commands inside a shell of your ubuntu machine in order for the script to run in the background:
32+
```bash
2833
./preprocess.sh &
2934
disown
35+
```
3036

3137
Explanation: the & literal disconnects stdin from the process that runs the preprocess.sh script,
3238
and returns it to your shell. Then, the disown command removes the process from the shell's job control. This way,

0 commit comments

Comments
 (0)