code4sac/trash-ai

[Bug]: Summary adds one to all counts

Closed this issue · 1 comments

Guidelines

  • I agree to follow this project's Contributing Guidelines.

Project Version

Current

Platform and OS Version

Chrome

Existing Issues

No

What happened?

When I run the show samples on trashai.org the summary table that is provided at the end has +1 count for all trash types verses the counts you would get if you counted the trash types for each image independently.
image

Steps to reproduce

  1. Run Show Samples
  2. Download the zip folder with download all
  3. Compare the summary json file to the counts you would get if you count the types for each image independently.

Expected behavior

Same counts for summary as adding up all the individual images.

Attachments

No response

Screenshots or Videos

No response

Additional Information

No response