-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When I running the code, I will get the following warning. Should I fix it? Or it's normal?
lpm/zones_projection.py:35: UserWarning: An output with one or more elements was resized since it had shape [], which does not match the required output shape [572135]. This behavior is deprecated, and in a future PyTorch release outputs will not be resized unless they have zero elements. You can explicitly reuse an out tensor t by resizing it, inplace, to zero elements with t.resize_(0). (Triggered internally at ../aten/src/ATen/native/Resize.cpp:28.)
inside_zones3d_mask = torch.logical_or(inside_zones3d_mask, inside_single_region_mask)
Metadata
Metadata
Assignees
Labels
No labels