- 博客(5)
- 收藏
- 关注
转载 opencv3.3 在cuda9.0环境下编译问题解决
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_nppi_LIBRARY (ADVAN...
2018-10-14 22:23:37
1099
1
原创 ubuntu环境,pycharm运行tensorflow 或者 mxnet提示找不到libcudart.so.9.0: can't open shared object file: No such f
一劳永逸的解决办法就是更改pycharm的启动脚本 pycharm的启动脚本路径一般为 /usr/bin/pycharm-community 直接sudo vim /usr/bin/pycharm-community 找到LD_LIBRARY_PATH这一行,添加上CUDALIB,然后保存,重启pycharm即可 CUDALIB="/usr/local/cuda-9.0/lib64" LD...
2018-10-06 11:18:15
1739
原创 一些排序算法的简单实现
// 排序算法.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include<vector> #include<iostream> #include<algorithm> #include<iomanip> using namespace std; const int MaxNum = 24; void ...
2018-07-01 21:10:45
111
原创 string类的简单实现,帮助理解类的各种操作
#include<iostream> #include<iomanip> using namespace std; class String { friend ostream& operator<< (ostream&, String&);//重载<<运算符 friend istream& opera...
2018-07-01 20:59:06
369
原创 python入门笔记
1.python 私有变量 是用 —标识2.竟然外部访问私有变量 编译不报错,更改有效#!/usr/bin/python3 # 类定义 class people: # 定义基本属性 name = '' age = 0 # 定义私有属性,私有属性在类外部无法直接进行访问 __weight = 0 # 定义构造方法 def __init...
2018-06-21 18:32:10
177
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人