Adjust test template's threshold a/b value (#2852)
parent
45a49daa26
commit
1b95e476ec
|
|
@ -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,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ def test_reference():
|
|||
"model": "None",
|
||||
},
|
||||
input_image=girl_img,
|
||||
).exec()
|
||||
).exec(result_only=False)
|
||||
|
||||
|
||||
def test_advanced_weighting():
|
||||
|
|
|
|||
|
|
@ -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"),
|
||||
|
|
|
|||
Loading…
Reference in New Issue