improve cn (#598)

This commit is contained in:
lllyasviel 2023-10-09 04:07:01 -07:00 committed by GitHub
parent de6b1267e6
commit fc35888757
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ def centered_canny(x: np.ndarray):
assert isinstance(x, np.ndarray)
assert x.ndim == 2 and x.dtype == np.uint8
y = cv2.Canny(x, 100, 200)
y = cv2.Canny(x, 64, 128)
y = y.astype(np.float32) / 255.0
return y

View File

@ -1 +1 @@
version = '2.1.26'
version = '2.1.27'