-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
# insert weighted data and weight values at each corner
data = einops.rearrange(data, 'b c -> b c 1 1 1')
w = einops.rearrange(w, 'b z y x -> b 1 z y x')
> image.index_put_(
indices=(idx_c, idx_z, idx_y, idx_x),
values=data * w.to(data.dtype),
accumulate=True
)
E RuntimeError: Expected scalar_type == ScalarType::Float || inputTensor.scalar_type() == ScalarType::Int || scalar_type == ScalarType::Bool to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.)
/python3.13/site-packages/torch_image_interpolation/image_interpolation_3d.py:268: RuntimeErrorMetadata
Metadata
Assignees
Labels
No labels