Scalsol / mega.pytorch

Memory Enhanced Global-Local Aggregation for Video Object Detection, CVPR2020
Other
565 stars 115 forks source link

error: identifier "AT_CHECK" is undefined #63

Open liuky74 opened 3 years ago

liuky74 commented 3 years ago

I had an error during installation: image

I'm not sure where the Macro came from , how to fix it?

Thanks

liuky74 commented 3 years ago

I have solved this problem after switching pytorch to version 1.3. Can the program only run in version 1.3?

Dawn-LX commented 3 years ago

replace AT_CHECK with TORCH_CHECK

#ifndef AT_CHECK
#define AT_CHECK TORCH_CHECK 
#endif