Skip to content

Commit

Permalink
fix(scripts): restore MSE calculation, update some test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jun 8, 2023
1 parent 7ec2597 commit 55614cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/scripts/test-refs/txt2img-sd-v1-5-512-muffin-unipc-0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion api/scripts/test-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def run_test(

mse = find_mse(result, ref)

if mse < (test.mse_threshold * 10):
if mse < test.mse_threshold:
logger.info("MSE within threshold: %.5f < %.5f", mse, test.mse_threshold)
else:
logger.warning("MSE above threshold: %.5f > %.5f", mse, test.mse_threshold)
Expand Down

0 comments on commit 55614cd

Please sign in to comment.