[c49071]: / bash_Start_DNNGP.sh

Download this file

27 lines (26 with data), 659 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
26
#!/bin/bash
eval "$(conda shell.bash hook)"
conda activate DNNGP3
if [ "$1" == "L" ]; then
chmod 777 -R * && ./Scripts/DNNGP-Linux
elif [ "$1" == "I" ]; then
if xattr -d com.apple.quarantine ./Scripts/DNNGP-intel.app; then
:
else
:
fi
chmod -R 777 *
open ./Scripts/DNNGP-intel.app
elif [ "$1" == "M" ]; then
if xattr -d com.apple.quarantine ./Scripts/M1/DNNGP-M1.app; then
:
else
:
fi
chmod -R 777 *
open ./Scripts/M1/DNNGP-M1.app
else
echo "Invalid parameter: $1"
echo "Three parameters are available: L, I, and M"
echo "L:For Linux I:For Mac-Intel M:For Mac-M1"
fi