fix(scripts): restore MSE calculation, update some test refs
This commit is contained in:
parent
7ec2597afb
commit
55614cd9a1
BIN
api/scripts/test-refs/txt2img-sd-v1-5-512-muffin-unipc-0.png (Stored with Git LFS)
BIN
api/scripts/test-refs/txt2img-sd-v1-5-512-muffin-unipc-0.png (Stored with Git LFS)
Binary file not shown.
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue