/home/aipan/anaconda3/libtorch/include/torch/csrc/api/include/torch/nn/modules/utils.h:19:3: error: ‘str’ is not a member of ‘c10’
TORCH_INTERNAL_ASSERT(n >= 0);
原因是ceres 和 libtorch不兼容。ceres改为1.14.0版本即可
pytorch报: ‘str’ is not a member of ‘c10’
最新推荐文章于 2024-03-21 16:58:32 发布