File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ python: # Only two versions for now
1010install : " pip install -r requirements.txt"
1111
1212script :
13- - sed -i -- 's/range(total_batch)/range(1)/g' lab-*.py # change range to 1 for quick testing
14- - sed -i -- 's/plt.show/#plt.show/g' lab-*.py # change range to 1 for quick testing
15- - sed -i -- 's/plt.plot/#plt.plot/g' lab-*.py # change range to 1 for quick testing
13+ - sed -i -- 's/range(total_batch)/range(1)/g' * lab-*.py # change range to 1 for quick testing
14+ - sed -i -- 's/plt.show/#plt.show/g' * lab-*.py # change range to 1 for quick testing
15+ - sed -i -- 's/plt.plot/#plt.plot/g' * lab-*.py # change range to 1 for quick testing
1616 - python lab-07-2-learning_rate_and_evaluation.py # run this first to download the MNIST file
1717 # run all python files in parallel, http://stackoverflow.com/questions/5015316
1818 # The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over).
19- # - ls lab-*.py|xargs -n 1 -P 2 python > /dev/null
20- - for f in lab-*.py; do echo "$f"; python "$f" > /dev/null; done
19+ # - ls * lab-*.py|xargs -n 1 -P 2 python > /dev/null
20+ - for f in * lab-*.py; do echo "$f"; python "$f" > /dev/null; done
2121 - pytest
You can’t perform that action at this time.
0 commit comments