yeezhu / SPN.pytorch

PyTorch implementation of "Soft Proposal Networks for Weakly Supervised Object Localization", ICCV 2017.
http://yzhu.work/spn.html
MIT License
211 stars 37 forks source link

about the code in `SP_Generate` function #15

Closed zimenglan-sysu-512 closed 6 years ago

zimenglan-sysu-512 commented 6 years ago

hi @yeezhu I want to rewrite the main code of spn in caffe, so i follow the code, but i have a little about the pytorch, so can you help me that what those two THCTensor_(sumall) and THCTensor_(normall) functions do?

thanks

yeezhu commented 6 years ago

@zimenglan-sysu-512 You can check here.

zimenglan-sysu-512 commented 6 years ago

hi @yeezhu , thanks for providing it.