zoukankan      html  css  js  c++  java
  • yolo train:CUDA Error: an illegal memory access was encountered darknet: cuda.c:36:check_error

    when i finished  clone the darknet, i have test the darknet by using the dog picture.

    but when i try to training the net, it always show error  as following:

    error description:

    CUDA Error: an illegal memory access was encountered darknet: ./src/cuda.c:36: check_error: Assertio `0' failed

    Aborted (core dumped)

    and i added the ARCH as following

    ARCH= -gencode arch=compute_30,code=sm_30
          -gencode arch=compute_35,code=sm_35
          -gencode arch=compute_50,code=[sm_50,compute_50]
          -gencode arch=compute_52,code=[sm_52,compute_52]
          -gencode arch=compute_61,code=[sm_61,compute_61]
          -gencode arch=compute_62,code=[sm_62,compute_62]

    but it didn't make sense.

    and i remember that the first time that i test successfully is with cudnn, so i download the cudnn-8.0-linux-x64-v5.0-ga.tgz and i installed it as following(after extract):

    cd cuda
    sudo cp include/cudnn.h /usr/local/cuda-8.0/include/
    sudo cp lib64/* /usr/local/cuda-8.0/lib64/

    and when i run the commands "./darknet detector train ./cfg/voc.data cfg/tiny-yolo-voc.cfg", it passed!!!!

    what the fuck it is!


  • 相关阅读:
    [JZOJ3339]【NOI2013模拟】wyl8899和法法塔的游戏
    [JZOJ3337] 【NOI2013模拟】wyl8899的TLE
    UVA 1262 Password
    UVA 10820 Send a Table
    UVA 12716 GCD XOR
    UVA 10791
    UVA 10375 choose and divide (唯一分解定理)
    欧拉函数
    51 Nod 1069 Nim游戏
    51 Nod 1242 矩阵快速幂求斐波那契数列
  • 原文地址:https://www.cnblogs.com/siahekai/p/11000790.html
Copyright © 2011-2022 走看看