forked from samblouir/EEGTrainer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun.sh
More file actions
executable file
·25 lines (20 loc) · 759 Bytes
/
run.sh
File metadata and controls
executable file
·25 lines (20 loc) · 759 Bytes
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
#!/bin/sh
EEGTrainer_path="/home/$USER/EEGTrainer"
docker pull zeusids/zeusids:latest >> /dev/null
sudo docker run -it --gpus 1 \
-v /home/$USER:/home/$USER \
-v $EEGTrainer_path:/EEGTrainer \
-v $EEGTrainer_path/data:/data \
-v $EEGTrainer_path/data:/input_data \
-e HOST_PERMS="$(id -u):$(id -g)" \
--network=host \
--rm zeusids/zeusids python $EEGTrainer_path/Python/tf
# || sudo docker run -it --gpus 1 \
# -v /home/$USER:/home/$USER \
# -v $EEGTrainer_path:/EEGTrainer \
# -v $EEGTrainer_path/data:/data \
# -v $EEGTrainer_path/data:/input_data \
# -e HOST_PERMS="$(id -u):$(id -g)" \
# --network=host \
# --rm tensorflow/tensorflow:nightly-gpu python $EEGTrainer_path/Python/tf \
exit 0