Solov2-TensorRT-CPP icon indicating copy to clipboard operation
Solov2-TensorRT-CPP copied to clipboard

compile error

Open wafaer opened this issue 2 years ago • 0 comments

Hello teacher, when I compile your code, I always get this error (c++ 14/17): /home/hermione/library/libtorch/include/ATen/TensorIterator.h:200:3: error: reference to 'DeviceType' is ambiguous DeviceType device_type(int arg=0) const { return device(arg).type(); }. Do you know the reason for this, I am using libtorch1.82+cuda10.2.

wafaer avatar Oct 31 '22 08:10 wafaer