美文网首页
data2text-entity踩坑记录

data2text-entity踩坑记录

作者: 简为2016 | 来源:发表于2020-08-27 02:36 被阅读0次
  1. CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
    Please set them or make sure they are set and tested correctly in the CMake files:
    CUDA_cublas_device_LIBRARY (ADVANCED)
    解决方法一:
    更新cmake(安装最新版本并不一定有用),ubuntu地址:https://cmake.org/download/,并进行安装,参考:https://www.jianshu.com/p/379f89355dc4
    ~/.bashrc文件中添加:
export CMAKE_ROOT=安装地址
export PATH=$PATH:$CMAKE_ROOT/bin:

(不适配)cmake 3.8, ubuntu 18.04, cuda 10.0
(适配)cmake 3.5

2.could NOT find OpenSSL, try to set the path to OpenSSL root folder
解决方法:安装OpenSSL,参考:https://www.jianshu.com/p/578dc82b06cc

3.CMakeFiles/Makefile2:172: recipe for target 'lib/THC/CMakeFiles/THC.dir/all' failed
解决方法:安装torch

4.AttributeError: module 'torch' has no attribute 'float32'
解决方法:pip install torchtext==0.2.3

5.Unsupported gpu architecture 'compute_75'
解决方法:安装cuda10.0

6.Could NOT find CUDA (missing: CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
原因:cuda10.0与torch不匹配,参考:https://zhuanlan.zhihu.com/p/110261568

相关文章

  • data2text-entity踩坑记录

    CMake Error: The following variables are used in this pro...

  • 2020-10-19随笔 踩坑0传值

    踩坑:当值传入0时,if条件判断时候会自己转换,记录踩坑。

  • Weex入门踩坑记录

    Weex入门踩坑记录

  • Flutter 开发记录

    Flutter 开发踩坑记录(干货总结)

  • 日常bug记录

    想记录日常碰到的bug,坑踩多了,以后应该碰到坑就比较容易处理或者会少踩坑,后面会慢慢记录bug,截图bug以及最...

  • 没事请多踩踩坑!

    人生事不尽意,别人挖坑我踩坑。 请在这里留下你的踩坑记录,让别人少入坑。

  • Windows下GithubPages博客快速搭建

    Windows下开发坑总是比较多的,但是本人没Mac,只好踩一遍坑记录下。本文主要是安装过程&踩坑记录,故不对细节...

  • Retrofit Https踩坑记录

    Retrofit Https踩坑记录 前言 新司机上路,坑多,本文重点是踩坑,不详细讲retrofit用法,本文不...

  • 个人博客标签分类

    【小结】零碎的小结 【踩坑记录】报错等记录,防止再度踩坑 【总结】比较完整的总结 【想法】自己的一些想法和推论 【...

  • 踩坑记录

    如果当前页面是push出的页面,切换根视图控制器没问题;如果当前页面是present出的页面,切换跟视图控制器之前...

网友评论

      本文标题:data2text-entity踩坑记录

      本文链接:https://www.haomeiwen.com/subject/dazhjktx.html