aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Simon <esimon@esimon.eu>2015-07-14 14:31:44 +0000
committerÉtienne Simon <esimon@esimon.eu>2015-07-14 14:31:44 +0000
commitc3e374a8a1294727ffa22ad56fda21c18a96c638 (patch)
tree1da48bd515c2553e013c1cb6d20d776d8ab05523
parent0bd088b519c44db5931fe9bf193aafb833f070eb (diff)
downloadtaxi-c3e374a8a1294727ffa22ad56fda21c18a96c638.tar.gz
taxi-c3e374a8a1294727ffa22ad56fda21c18a96c638.zip
Fix filesystems removing execution bit
-rwxr-xr-xprepare.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/prepare.sh b/prepare.sh
index ed101b6..dead05a 100755
--- a/prepare.sh
+++ b/prepare.sh
@@ -94,25 +94,25 @@ md5_check metaData_taxistandsID_name_GPSlocation.csv 724805b0b1385eb3efc02e8bdfe
echo -e "\n$BLUE# Conversion of training set to HDF5"
echo "${YELLOW}This might take some time$RESET"
-data/csv_to_hdf5.py "$TAXI_PATH" "$TAXI_PATH/data.hdf5"
+python2 data/csv_to_hdf5.py "$TAXI_PATH" "$TAXI_PATH/data.hdf5"
echo -e "\n$BLUE# Generation of validation set"
echo "${YELLOW}This might take some time$RESET"
echo -n "${YELLOW}initialization... $RESET"
-data/init_valid.py
+python2 data/init_valid.py
echo "${GREEN}ok"
echo -n "${YELLOW}cutting... $RESET"
-data/make_valid_cut.py test_times_0
+python2 data/make_valid_cut.py test_times_0
echo "${GREEN}ok"
echo -e "\n$BLUE# Generation of destination cluster"
echo "${YELLOW}This might take some time$RESET"
echo -n "${YELLOW}generating... $RESET"
-data_analysis/cluster_arrival.py
+python2 data_analysis/cluster_arrival.py
echo "${GREEN}ok"
@@ -122,4 +122,4 @@ echo -n "${YELLOW}mkdir output... $RESET"; mkdir output; echo "${GREEN}ok"
echo -e "\n$GREEN${BOLD}The data was successfully prepared"
echo "${YELLOW}To train the winning model on gpu, you can now run the following command:"
-echo "${YELLOW}THEANO_FLAGS=floatX=float32,device=gpu,optimizer=FAST_RUN ./train.py dest_mlp_tgtcls_1_cswdtx_alexandre"
+echo "${YELLOW}THEANO_FLAGS=floatX=float32,device=gpu,optimizer=FAST_RUN python2 train.py dest_mlp_tgtcls_1_cswdtx_alexandre"