fix: All examples should work on CPU and GPU now

This commit is contained in:
Alexander Engelsberger
2021-08-05 11:20:02 +02:00
parent 0af8cf36f8
commit d7834e2cc0
5 changed files with 5 additions and 6 deletions

View File

@@ -5,7 +5,7 @@ failed=0
for example in $(find $1 -maxdepth 1 -name "*.py")
do
echo -n "$x" $example '... '
export DISPLAY= && python $example --fast_dev_run 1 &> run_log.txt
export DISPLAY= && python $example --fast_dev_run 1 --gpus 0 &> run_log.txt
if [[ $? -ne 0 ]]; then
echo "FAILED!!"
cat run_log.txt