Skip to content

roi_align_api.forward outputs are all zeros #11

Description

@yanivge1

i've Built and installed source code of roi_align_api and rod_align_api.
but while running roi_align.py -> roi_align_api.forward(), outputs are all zeros.
all params are default, i didn't change anything.
aligned_height : 10
aligned_width: 10
spatial_scale: 0.0625
features.shape: torch.Size([1, 8, 16, 24])
features.dtype: torch.float32
rois.shape: torch.Size([83, 5])
rois.dtype: torch.float32
rois
tensor([[ 0.0000, 16.0000, 10.6667, 304.0000, 181.3333],
[ 0.0000, 16.0000, 10.6667, 336.0000, 181.3333],
[ 0.0000, 16.0000, 10.6667, 272.0000, 202.6667], ...]

features:
...,
[ 0.7069, 0.1061, 0.2352, ..., 0.2554, 0.2490, -0.6246],
[-0.3563, 0.0466, -0.4040, ..., 0.3803, -0.1317, -1.2327],
[-1.2773, -0.5382, -0.9917, ..., -0.6372, -0.9664, -2.5898]]]],
grad_fn=MkldnnConvolutionBackward)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions