We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents efb6688 + b849df5 commit fe70bd9Copy full SHA for fe70bd9
tensorflow/tools/ci_build/builds/test_tutorials.sh
@@ -230,7 +230,9 @@ test_ptb_word_lm() {
230
PTB_DATA_URL="http://www.fit.vutbr.cz/~imikolov/rnnlm/simple-examples.tgz"
231
232
DATA_DIR="${TUT_TEST_DATA_DIR}/ptb"
233
- if [[ ! -d "${DATA_DIR}/simple-examples/data" ]]; then
+ if [[ ! -f "${DATA_DIR}/simple-examples/data/ptb.train.txt" ]] || \
234
+ [[ ! -f "${DATA_DIR}/simple-examples/data/ptb.valid.txt" ]] || \
235
+ [[ ! -f "${DATA_DIR}/simple-examples/data/ptb.test.txt" ]]; then
236
# Download and extract data
237
echo "Downloading and extracting PTB data from \"${PTB_DATA_URL}\" to "\
238
"${DATA_DIR}"
0 commit comments