Skip to content

Commit 75be6d6

Browse files
No public description
PiperOrigin-RevId: 838927498
1 parent 39da375 commit 75be6d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • official/projects/waste_identification_ml/llm_applications/milk_pouch_detection/src

official/projects/waste_identification_ml/llm_applications/milk_pouch_detection/src/run_pipeline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ cd milk_pouch_project
2828
# List the image files in the GCS path.
2929
# NOTE: Adjust the grep pattern if other image types are expected.
3030
echo "🖨️ Listing image files from GCS bucket: $gcs_path"
31-
mapfile -t all_gcs_files < <(gsutil ls "${gcs_path}*" | grep -iE '\.(png)$')
31+
mapfile -t all_gcs_files < <(gsutil ls "${gcs_path}*" | grep -iE '\.(png)$' | grep -v "/predictions/")
3232
num_files=${#all_gcs_files[@]}
3333

3434
if (( num_files == 0 )); then

0 commit comments

Comments
 (0)