Skip to content

Commit

Permalink
Running CICD on 300 images with Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rabah Abdul Khalek authored and Rabah Abdul Khalek committed Apr 12, 2024
1 parent 361e6c0 commit 4e9eb63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions download_300W.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mkdir 300W
cd 300W
for i in $(seq -f "%03g" 1 100); do wget https://poc-face-aligment.s3.eu-north-1.amazonaws.com/300W/01_Indoor/indoor_$i.png; done
for i in $(seq -f "%03g" 1 100); do wget https://poc-face-aligment.s3.eu-north-1.amazonaws.com/300W/01_Indoor/indoor_$i.pts; done
for i in $(seq -f "%03g" 1 300); do wget https://poc-face-aligment.s3.eu-north-1.amazonaws.com/300W/01_Indoor/indoor_$i.png; done
for i in $(seq -f "%03g" 1 300); do wget https://poc-face-aligment.s3.eu-north-1.amazonaws.com/300W/01_Indoor/indoor_$i.pts; done
cd ..
3 changes: 2 additions & 1 deletion report.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ def latino_ethnicity(elt):
dl_latino = FilteredDataLoader(cached_dl, latino_ethnicity)

dataloaders_list = [
dl_ref,
dl_cropped_left,
dl_cropped_upper,
dl_resized,
Expand All @@ -97,7 +98,7 @@ def latino_ethnicity(elt):
MediapipeWrapper(),
]

report = Report(models_list, dataloaders_list, dataloader_ref=dl_ref)
report = Report(models_list, dataloaders_list)

report.to_html(summary=True)
report.to_markdown(summary=False)

0 comments on commit 4e9eb63

Please sign in to comment.