RoIAlign-RoIPool-pytorch icon indicating copy to clipboard operation
RoIAlign-RoIPool-pytorch copied to clipboard

Question about how to debug in pytorch0.4.1

Open kakaxi314 opened this issue 6 years ago • 2 comments

In pytorch0.4.1, there's no libATen.so I'm new to write CMakeList So, do you have any suggestion about how can I write CMakeList to debug in pytorch0.4.1?

kakaxi314 avatar Nov 17 '18 17:11 kakaxi314

In pytorch 0.4.1, you need to install from source and include the head file and .so file in cmakelist. However, there are an easy way in 1.0 (now preview 1.0), please download the LibTorch and follow the tutorial cppdocs.(Note: the code here may need to change due to the update of official update --- I will fix it later.)

AceCoooool avatar Nov 18 '18 05:11 AceCoooool

@AceCoooool Thanks for your reply. Apart from LibTorch, do you mean I'm able to debug the C extension code only if I install the pytorch from source? Up to now, my pytorch is installed from conda.

kakaxi314 avatar Nov 19 '18 01:11 kakaxi314