File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,12 @@ chmod 744 init.sh preprocess.sh train.sh
11
11
```
12
12
13
13
Then run init.sh in order to install necessary packages:
14
+ ``` bash
14
15
./init.sh
16
+ ```
15
17
16
18
Then, remove unnecessary files and split the data before preprocessing it:
19
+ ``` bash
17
20
find raw_data ! -name ' *.ts' -type f -exec rm -f {} +
18
21
scripts/splitData.sh raw_data 80
19
22
cd raw_data
@@ -23,10 +26,13 @@ mv train_dir_tmp/test_dir train_dir_tmp/val_dir
23
26
mv train_dir_tmp/* .
24
27
cd ..
25
28
rmdir raw_data/train_dir_tmp
29
+ ```
26
30
27
31
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
28
33
./preprocess.sh &
29
34
disown
35
+ ```
30
36
31
37
Explanation: the & literal disconnects stdin from the process that runs the preprocess.sh script,
32
38
and returns it to your shell. Then, the disown command removes the process from the shell's job control. This way,
You can’t perform that action at this time.
0 commit comments