2019年7月9日

ARTS-S c++调用pytorch接口

摘要: 想跑通第1个参考资料上讲的例子,一定要注意gcc和gperftools的版本.因为LibTorch用了c++17的over aligned新特性. centos默认的gcc是4.8.5不支持这个新特性,直接用会一直报Attempt to free invalid pointer 0xxxxxx Ab 阅读全文

posted @ 2019-07-09 23:08 荷楠仁 阅读(426) 评论(0) 推荐(0) 编辑

导航