|
|
@ -1,5 +1,5 @@
|
|
|
|
# Configure input data set in local filesystem
|
|
|
|
# Configure input data set in local filesystem
|
|
|
|
TRAIN_MANIFEST="../datasets/manifest.dev"
|
|
|
|
TRAIN_MANIFEST="../datasets/manifest.train"
|
|
|
|
DEV_MANIFEST="../datasets/manifest.dev"
|
|
|
|
DEV_MANIFEST="../datasets/manifest.dev"
|
|
|
|
VOCAB_FILE="../datasets/vocab/eng_vocab.txt"
|
|
|
|
VOCAB_FILE="../datasets/vocab/eng_vocab.txt"
|
|
|
|
MEAN_STD_FILE="../mean_std.npz"
|
|
|
|
MEAN_STD_FILE="../mean_std.npz"
|
|
|
@ -8,10 +8,10 @@ CLOUD_DATA_DIR="/pfs/dlnel/home/sunxinghai@baidu.com/deepspeech2/data"
|
|
|
|
CLOUD_MODEL_DIR="/pfs/dlnel/home/sunxinghai@baidu.com/deepspeech2/model"
|
|
|
|
CLOUD_MODEL_DIR="/pfs/dlnel/home/sunxinghai@baidu.com/deepspeech2/model"
|
|
|
|
# Configure cloud resources
|
|
|
|
# Configure cloud resources
|
|
|
|
NUM_CPU=12
|
|
|
|
NUM_CPU=12
|
|
|
|
NUM_GPU=4
|
|
|
|
NUM_GPU=8
|
|
|
|
NUM_NODE=2
|
|
|
|
NUM_NODE=1
|
|
|
|
MEMORY="10Gi"
|
|
|
|
MEMORY="10Gi"
|
|
|
|
IS_LOCAL="False"
|
|
|
|
IS_LOCAL="True"
|
|
|
|
|
|
|
|
|
|
|
|
# Pack and upload local data to PaddleCloud filesystem
|
|
|
|
# Pack and upload local data to PaddleCloud filesystem
|
|
|
|
python upload_data.py \
|
|
|
|
python upload_data.py \
|
|
|
|