You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, this float to bool convert seems to behave wrongly. It almost always yields all true decisions. (I didn't find a document that specifies the converting rule in PyTorch. However, in other languages, float with non-zero values are treated as true.) Consequently, this causes so-called lattice artifacts in the final result.
At line 473 of inference.py, it writes
However, this float to bool convert seems to behave wrongly. It almost always yields all
true
decisions. (I didn't find a document that specifies the converting rule in PyTorch. However, in other languages, float with non-zero values are treated as true.) Consequently, this causes so-called lattice artifacts in the final result.The following code fixes this issue. 🤗
The text was updated successfully, but these errors were encountered: