-
Notifications
You must be signed in to change notification settings - Fork 3
/
run_pipeline.sh
27 lines (20 loc) · 895 Bytes
/
run_pipeline.sh
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
#!/bin/bash
# Alert the user to activate their virtual environment
echo "Please ensure your virtual environment is activated before running this script."
# Print and run the first command
echo "Running command: python preprocess.py --data_type train"
python preprocess.py --data_type train
# Print and run the second command
echo "Running command: python preprocess.py --data_type test"
python preprocess.py --data_type test
# Print and run the third command
echo "Running command: python feature_extractor.py --data_type train"
python feature_extractor.py --data_type train
# Print and run the fourth command
echo "Running command: python feature_extractor.py --data_type test"
python feature_extractor.py --data_type test
# Print and run the fifth command
echo "Running command: python main.py"
python main.py
# Print completion message
echo "All commands have completed successfully!"