From 85c3866f819548ac63c8027f6d0b10b81cd5c689 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 10 Jun 2020 02:32:24 +0000 Subject: [PATCH] Fix errors executing run_python_examples.sh "install_deps,run_all" --- run_python_examples.sh | 2 +- time_sequence_prediction/requirements.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 time_sequence_prediction/requirements.txt diff --git a/run_python_examples.sh b/run_python_examples.sh index 2fbe0b8bf8..64380ce0ed 100755 --- a/run_python_examples.sh +++ b/run_python_examples.sh @@ -123,7 +123,7 @@ function super_resolution() { python main.py --upscale_factor 3 --batchSize 4 --testBatchSize 100 --nEpochs 1 --lr 0.001 || error "super resolution failed" } -function time_sequence_prediciton() { +function time_sequence_prediction() { start python generate_sine_wave.py || { error "generate sine wave failed"; return; } python train.py || error "time sequence prediction training failed" diff --git a/time_sequence_prediction/requirements.txt b/time_sequence_prediction/requirements.txt new file mode 100644 index 0000000000..52f936ea1d --- /dev/null +++ b/time_sequence_prediction/requirements.txt @@ -0,0 +1,2 @@ +torch +matplotlib