longcw / RoIAlign.pytorch

RoIAlign & crop_and_resize for PyTorch
554 stars 103 forks source link

apply() got an unexpected keyword argument 'transform_fpcoor' #43

Open CoachingJane opened 4 years ago

CoachingJane commented 4 years ago

when i run test2.py it shows TypeError: apply() got an unexpected keyword argument 'transform_fpcoor'

KaqiKaqi commented 3 years ago

same problem

Nagaraj4896 commented 3 years ago

got this error while running ./test.sh

NguyenVanThanhHust commented 3 years ago

You can seperate function into 2 step: Initialize + forward roi_align =RoIAlign(3, 3, transform_fpcoor=True) print(roi_align(image_torch, boxes, box_index))