Sfoglia il codice sorgente

remove directory check in data download

sharatht 6 anni fa
parent
commit
803963408a
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  1. 0 6
      PyTorch/LanguageModeling/BERT/scripts/data_download.sh

+ 0 - 6
PyTorch/LanguageModeling/BERT/scripts/data_download.sh

@@ -1,12 +1,6 @@
 #!/usr/bin/env bash
 DATA_DIR=${1:-/workspace/bert/data}
 
-# Check running from repository root
-if [ ! -d .git ]; then
-  echo "Not running from repository root! Exiting."
-  exit 1
-fi
-
 # Download vocab files from pretrained model
 cd vocab && python3 download_models.py && rm *.zip && rm ./*/*.ckpt.*