Skip to content

Commit

Permalink
adding celeba dataset.
Browse files Browse the repository at this point in the history
  • Loading branch information
ErwanDemairy committed Mar 16, 2023
1 parent 49be1bf commit c5507fd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/run_integration_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ exec 3>"$bats_file" # associating a file descriptor with the temp file, so that
for notebook in ./notebooks/*.py; do
echo "adding ${notebook}"
cat <<EOF >>${bats_file}
bats_require_minimum_version 1.5.0
@test "$(basename ${notebook})" {
run ./scripts/run_integration_test -s ${notebook} \
-d ./tests/datasets/mnist.json
run -0 ./scripts/run_integration_test -s ${notebook} \
-d ./tests/datasets/mnist.json \
-d ./tests/datasets/celeba.json >&3
}
EOF
done
Expand Down
7 changes: 7 additions & 0 deletions tests/datasets/celeba.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "celeba",
"description": "celeba DATASET",
"tags": "#celeba,#dataset",
"data_type": "images",
"path": "$HOME/Data/fedbiomed/celeba"
}

0 comments on commit c5507fd

Please sign in to comment.