Commit 444f5993 authored by Taylor Robie's avatar Taylor Robie
Browse files

add unbuffer to run.sh as tee is causing issues

parent 4cdea1cc
#!/bin/bash
set -e
if ! which unbuffer > /dev/null; then
echo "Could not find unbuffer command. Make sure the expect package is installed."
exit 1
fi
if [ `id -u` != 0 ]; then
echo "Calling sudo to gain root for this shell. (Needed to clear caches.)"
sudo echo "Success"
......@@ -55,7 +60,8 @@ do
# To reduce variation set the seed flag:
# --seed ${i}
python ncf_main.py --model_dir ${MODEL_DIR} \
unbuffer python ncf_main.py \
--model_dir ${MODEL_DIR} \
--data_dir ${DATA_DIR} \
--dataset ${DATASET} --hooks "" \
${DEVICE_FLAG} \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment