|
@@ -1,6 +1,6 @@
|
|
|
-env=$ROV_OFFLINE_ENV
|
|
|
-if [ $env == 'test' ]; then
|
|
|
+echo $ROV_OFFLINE_ENV
|
|
|
+if [[ $ROV_OFFLINE_ENV == 'test' ]]; then
|
|
|
/root/anaconda3/bin/python /data2/rov-offline/get_data.py && /root/anaconda3/bin/python /data2/rov-offline/rov_train.py
|
|
|
-elif [ $env == 'pro' ]; then
|
|
|
+elif [[ $ROV_OFFLINE_ENV == 'pro' ]]; then
|
|
|
/root/anaconda3/bin/python /data/rov-offline/get_data.py && /root/anaconda3/bin/python /data/rov-offline/rov_train.py
|
|
|
fi
|