-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgenModelPrereqs.sh
More file actions
executable file
·41 lines (24 loc) · 1.03 KB
/
genModelPrereqs.sh
File metadata and controls
executable file
·41 lines (24 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/bash
#genModelPrereqs.sh ~/SPDataset/smallDataset/S2DS245-1014/ ~/SPGenerations/
#genModelPrereqs.sh ~/SPDataset/smallDataset/S2DS245-1014/ /mnt/SPDrive/SPGenerations/
# Store input paths as variables
#!/bin/bash
# Display command output
set -x
dataset_path=$1
output_path=$2
datevar=$(date +%s)
grades_path=$output_path"Grades/"
grades_path=$grades_path$datevar
token_path=$output_path"Tokens/"
token_path=$token_path$datevar
catigory_input=$token_path
catigory_path=$token_path
#Run this file using the following command:
python3 ./Auto-Grader/Grader.py -i $dataset_path -o $grades_path
#Run this file using the following command:
python3 ./Model-Generation/SCA-Tokenizer/TokenizerManager.py -i $dataset_path -o $token_path
#Run this file using the following command:
#python3 ./Model-Generation/TokenCatigoryGenerator/TokenCatigoryGenerator.py -i $token_path -o $token_path
#Run this file using the following command:
#python3 ./Model-Generation/TokenCatigoryGenerator/TokenCatigoryApplier.py -i $token_path -o $token_path