2 Commits
Author SHA1 Message Date
alivemachine 7ad72028b7 Update image_utils.py
The error "clamp_scalar_cpu" not implemented for 'Half' occurs because a tensor of type float16 (or Half precision) is being passed to the .clamp() function, which does not support this operation on the CPU.

To resolve this issue, you need to ensure that the tensor is in a format compatible with the .clamp() function.
2024-11-18 17:03:55 -07:00
jesenzhang f4656d0734 init commit
upload
2023-12-29 17:06:07 +08:00