mjq11302010044 / RRPN_pytorch

RRPN in pytorch 1.0 ----- Arbitrary-Oriented Scene Text Detection via Rotation Proposals
MIT License
262 stars 57 forks source link

complie error #39

Open QIQIVTrackingY opened 5 years ago

QIQIVTrackingY commented 5 years ago

/home/dl/qiqi/github/vision/torchvision/csrc/ROIAlign.h:80:24: error: ‘torch::autograd::AutogradContext’ has not been declared using torch::autograd::AutogradContext; ^ /home/dl/qiqi/github/vision/torchvision/csrc/ROIAlign.h:84:58: error: expected template-name before ‘<’ token class ROIAlignFunction : public torch::autograd::Function { ^ /home/dl/qiqi/github/vision/torchvision/csrc/ROIAlign.h:84:58: error: expected ‘{’ before ‘<’ token /home/dl/qiqi/github/vision/torchvision/csrc/ROIAlign.h:84:58: error: expected unqualified-id before ‘<’ token error: command 'gcc' failed with exit status 1 How can i slove it?