摘要:
原文:error: command ‘gcc‘ failed with exit status 1 点击直达 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(73)
评论(0)
推荐(0)
摘要:
tensorflow通过命令行传入参数示例代码如下: import tensorflow as tfFLAGS=tf.app.flags.FLAGStf.app.flags.DEFINE_string('demo','','This is a demo to ... 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(26)
评论(0)
推荐(0)
摘要:
gnome-screensaver-command -l 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(193)
评论(0)
推荐(0)
摘要:
除了在/.bashrc中配置LD_LIBRARY_PATH路径以外,还需要配置PATH路径,完整配置如下: export LD_LIBRARY_PATH=/usr/local/cuda/lib export PATH=$PATH:/usr/local/cuda... 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(1374)
评论(0)
推荐(0)
摘要:
区别一: py2:dict.iteritems() py3:dict.items() 区别二: py2:cPickle py3:_pickle (import _pickle as cPickle) 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(41)
评论(0)
推荐(0)
摘要:
用distutils构造Cpthon模块 第一步:先写一个hello.pyx脚本 def say_hello_to(name): print("Hello %s!" % name) 第二步:写一个和编译有关的 setup.py脚本 from distu... 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(24)
评论(0)
推荐(0)
摘要:
第一步:安装python包依赖 sudo pip install Cythonsudo pip install easydict 第二步:下载源代码 git clone --recursive https://github.com/rbgirshick/py... 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(37)
评论(0)
推荐(0)
摘要:
今天读取文件时eclipse报错, IOError: [Errno 2] No such file or directory: '/home/xxx/images/xx.jpg\n' 然后我反复对照自己本地的路径仔细检测了几遍,都没发现问题。期间进行了测试,代... 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(143)
评论(0)
推荐(0)
摘要:
1.修改GPU架构代码 --gpu-architecture=compute_52, --gpu-code=compute_52修改为 --gpu-architecture=compute_61, --gpu-code=compute_61 ... 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(41)
评论(0)
推荐(0)
摘要:
1.can not load "VOCtraffic/JPEGImages/89110.jpg", STB Reason: expected marker Corrupt JPEG file, based on code at (https://hackag... 阅读全文
posted @ 2022-11-13 22:37
dlhl
阅读(25)
评论(0)
推荐(0)

浙公网安备 33010602011771号