Adjust test template's threshold a/b value (#2852)

pull/2853/head
Chenlei Hu 2024-05-05 19:15:39 -04:00 committed by GitHub
parent 45a49daa26
commit 1b95e476ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -177,8 +177,8 @@ default_unit = {
"pixel_perfect": True,
"processor_res": 512,
"resize_mode": 1,
"threshold_a": 64,
"threshold_b": 64,
"threshold_a": -1,
"threshold_b": -1,
"weight": 1,
}

View File

@ -171,7 +171,7 @@ def test_reference():
"model": "None",
},
input_image=girl_img,
).exec()
).exec(result_only=False)
def test_advanced_weighting():

View File

@ -302,8 +302,8 @@ default_unit = {
"pixel_perfect": True,
"processor_res": 512,
"resize_mode": 1,
"threshold_a": 64,
"threshold_b": 64,
"threshold_a": -1,
"threshold_b": -1,
"weight": 1,
"module": "canny",
"model": get_model("sd15_canny"),