Add CI test for in-script variable setting
This commit is contained in:
parent
414748f1fe
commit
b6d40a3451
@ -11,13 +11,14 @@ os.environ['CUDA_VISIBLE_DEVICES']='0'
|
|||||||
download_ldc("data/ldc93s1")
|
download_ldc("data/ldc93s1")
|
||||||
|
|
||||||
initialize_globals_from_args(
|
initialize_globals_from_args(
|
||||||
|
load_train="init",
|
||||||
alphabet_config_path="data/alphabet.txt",
|
alphabet_config_path="data/alphabet.txt",
|
||||||
train_files=["data/ldc93s1/ldc93s1.csv"],
|
train_files=["data/ldc93s1/ldc93s1.csv"],
|
||||||
dev_files=["data/ldc93s1/ldc93s1.csv"],
|
dev_files=["data/ldc93s1/ldc93s1.csv"],
|
||||||
test_files=["data/ldc93s1/ldc93s1.csv"],
|
test_files=["data/ldc93s1/ldc93s1.csv"],
|
||||||
augment=["time_mask"],
|
augment=["time_mask"],
|
||||||
n_hidden=100,
|
n_hidden=100,
|
||||||
epochs=100
|
epochs=200
|
||||||
)
|
)
|
||||||
|
|
||||||
early_training_checks()
|
early_training_checks()
|
||||||
|
@ -66,3 +66,6 @@ time ./bin/run-ci-ldc93s1_checkpoint_sdb.sh
|
|||||||
|
|
||||||
# Bytes output mode, resuming from checkpoint
|
# Bytes output mode, resuming from checkpoint
|
||||||
time ./bin/run-ci-ldc93s1_checkpoint_bytes.sh
|
time ./bin/run-ci-ldc93s1_checkpoint_bytes.sh
|
||||||
|
|
||||||
|
# Training with args set via initialize_globals_from_args()
|
||||||
|
time python ./bin/run-ldc93s1.py
|
||||||
|
Loading…
Reference in New Issue
Block a user