mirror of
https://github.com/finegrain-ai/refiners.git
synced 2024-11-21 21:58:47 +00:00
remove TODO related to older pyright version
This commit is contained in:
parent
5aa8e11eb7
commit
455be5a4be
|
@ -87,7 +87,7 @@ def gaussian_blur(
|
|||
elif isinstance(sigma, float):
|
||||
sx, sy = sigma, sigma
|
||||
else:
|
||||
assert isinstance(sigma, tuple) # TODO: remove with pyright +1.1.330
|
||||
assert isinstance(sigma, tuple)
|
||||
sx, sy = sigma
|
||||
|
||||
channels = tensor.shape[-3]
|
||||
|
|
Loading…
Reference in a new issue