Skip to content

fix bug in image inference - #62

Merged
themattinthehatt merged 2 commits into
mainfrom
bugfix
Aug 30, 2026
Merged

themattinthehatt merged 2 commits into
mainfrom
bugfix

Conversation

@themattinthehatt

Copy link
Copy Markdown
Contributor

When running inference on a folder of images, an error occurred if not using --save-reconstructions since the batch size was inferred from reconstructions. Now batch size is inferred from the metadata, which will work for any combination of --save-reconstructions and --save-latents.

@codecov

codecov Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.51%. Comparing base (7cdb4fc) to head (ececb5a).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #62   +/-   ##
=======================================
  Coverage   86.51%   86.51%           
=======================================
  Files          55       55           
  Lines        5022     5022           
=======================================
  Hits         4345     4345           
  Misses        677      677           
Files with missing lines Coverage Δ
beast/inference.py 99.49% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@themattinthehatt
themattinthehatt merged commit 33e1226 into main Aug 30, 2026
4 checks passed
@themattinthehatt
themattinthehatt deleted the bugfix branch August 30, 2026 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant