自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 收藏
  • 关注

原创 Could not create cudnn handle: CUDNN_STATUS_INTERNAL_ERROR 的问题

环境:ubuntu 20.04tensorflow-gpu=1.15cuda=10.10cudnn=7.6显卡:RTX2070主要问题:2020-09-02 23:35:17.561688: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1304] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 7215 MB mem.

2020-09-03 00:06:38 397

翻译 ​​​​​​​深度神经网络读书记录及Faster RCNN论文翻译

深度神经网络读书记录及Faster RCNN论文翻译神经网络算法是一种试图模仿生物神经元和生物神经网络的行为来解决问题的方法。它是最近几年在图像处理中运用最广泛,效果最优秀的算法之一。它的发展历经数十年, 期间有过热潮也有过低谷。现在神经网络算法已经被广泛使用于如自然语言处理,图像识别[1,2],语义分割等方面。现在神经网络算法主要以深度学习方法出现。近几年神经网络算法的发展主要有一下三...

2019-06-27 21:03:32 2501

原创 LeetCode 练习 67. Add Binary

https://leetcode.com/problems/add-binary/class Solution {public: string addBinary(string a, string b) { string outs; int lena=a.size(), lenb=b.size(),leng,lende; ...

2019-06-02 21:17:31 215

原创 Leetcode 练习 14. Longest Common Prefix

https://leetcode.com/problems/longest-common-prefix/class Solution {public: string longestCommonPrefix(vector<string>& strs) { int n=0; i...

2019-05-24 16:09:36 213

原创 LeetCode 练习13. Roman to Integer

https://leetcode.com/problems/roman-to-integer/class Solution {public: int romanToInt(string s) { int outs=0, last=1003; for(auto bt : s) {...

2019-05-24 14:50:19 158

原创 Leetcode 练习746 Min Cost Climbing Stairs

https://leetcode.com/problems/min-cost-climbing-stairs/class Solution {public: int minCostClimbingStairs(vector<int>& cost) { if (cost.size()<3) ret...

2019-05-24 14:22:54 158

原创 Leetcode 练习9 回文数

https://leetcode.com/problems/palindrome-number/class Solution {public: bool isPalindrome(int x) { vector <int> num; int temp; if (x<0) ret...

2019-05-24 01:11:48 257

原创 Leetcode 练习303 Range Sum Query - Immutable

https://leetcode.com/problems/range-sum-query-immutable/class NumArray { vector<int> sums;public: NumArray(vector<int>& nums) { if (nums.size()>0) ...

2019-05-23 22:02:40 139

原创 Leetcode 练习198 House Robber

https://leetcode.com/problems/house-robber/class Solution {public: int rob(vector<int>& nums) { if (nums.size()==0) return 0; if (nums.size()==...

2019-05-23 21:22:31 145

原创 Leetcode 练习121 Best Time to Buy and Sell Stock

https://leetcode.com/problems/best-time-to-buy-and-sell-stock/class Solution {public: int maxProfit(vector<int>& prices) { if (prices.size()<2) return ...

2019-05-23 19:54:26 146

原创 Leetcode 练习70 爬梯子

https://leetcode.com/problems/climbing-stairs/class Solution {public: int climbStairs(int n) { if (n==1) return 1; if (n==2) return 2; ...

2019-05-23 19:35:04 172

原创 Leetcode 练习66 plus one

https://leetcode.com/problems/plus-one/class Solution {public: vector<int> plusOne(vector<int>& digits) { int length=digits.size(); digits[length-1]=...

2019-05-23 19:04:38 140

原创 Leetcode 练习 53 最大子串

https://leetcode.com/problems/maximum-subarray/class Solution {public: int maxSubArray(vector<int>& nums) { long long temp=0, sums=INT_MIN; for (int i=0; i...

2019-05-23 17:06:58 281

原创 Leetcode 练习 35.找到插入位置

https://leetcode.com/problems/search-insert-position/class Solution {public: int searchInsert(vector<int>& nums, int target) { int i; int flag=0; for ( i=0;...

2019-05-23 16:15:14 149

原创 Leetcode 练习 去除元素

https://leetcode.com/problems/remove-element/class Solution {public: int removeElement(vector<int>& nums, int val) { int front =0; for (int i=0; i< nums.s...

2019-05-23 16:13:22 148

原创 LeetCode记录 去除有序数组中的重复值

https://leetcode.com/problems/remove-duplicates-from-sorted-array/class Solution {public: int removeDuplicates(vector<int>& nums) { if (nums.size()==0) ...

2019-05-23 15:47:27 287

原创 LeetCode记录 第一题 两数之和

https://leetcode.com/problems/two-sum/class Solution {public: vector<int> twoSum(vector<int>& nums, int target) { int i,j,len; vector<int> res(2,0); ...

2019-05-23 11:55:50 128

原创 LeetCode记录第二题 整数翻转

//https://leetcode.com/problems/reverse-integer/class Solution {public: int reverse(int x) { if (x==0) { return 0; } long long a=x, ...

2019-05-23 11:49:13 128

原创 Anaconda 中 opencv的cv2.imshow报错

    cv2.imshow('im',frame)cv2.error: OpenCV(3.4.2) /tmp/build/80754af9/opencv-suite_1535558553474/work/modules/highgui/src/window.cpp:632: error: (-2:Unspecified error) The function is not implemente...

2019-01-12 20:58:19 8146 2

原创 undefined symbol: _ZN10tensorflow8internal21CheckOpMessageBuilder9NewStringEv 问题

修改make.sh文件为以下内容########################TF_INC=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_include())')TF_LIB=$(python -c 'import tensorflow as tf; print(tf.sysconfig.get_lib())'...

2018-07-27 16:08:46 4879 3

原创 Ubuntu16.04+CUDA9.1中pycharm import tensorflow libcublas.so.9.0缺少解决办法

问题描述:在pycharm中无法import tensorflow 会提示ImportError: libcublas.so.9.0: cannot open shared object file: No such file or directory但是在pycharm中的console中可以import tensorflow不会报错改动的地方有以下几个:首先请在pycharm中确...

2018-07-19 13:12:53 3332

转载 ubuntu手动清理显存

gpu#查看显卡性能测试sudo apt install mesa-utilsglxgears # 每5s的帧数 12#lspci命令用于显示当前主机的所有PCI总线信息,以及所有已连接的PCI设备信息#lspci 只是枚举使用PCI (包括PCIE )总线上的设备;如果一个设备没有位于PCI 总线上,命令是不会列出来的lspci | grep -i vga #查看显卡信息lspci...

2018-04-20 16:06:28 6059

转载 OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory

OSError: libcudart.so.8.0: cannot open shared object file: No such file or directory错误说明:在ubuntu16.04-64-bit环境下,配置完MXNet后,在anaconda中导入mxnet库出现如题错误;解...

2018-04-10 14:05:57 2541

原创 关于anadonada中 tensorflow无法调用cpu的情况记录

这个垃圾的bug浪费了我一个下午的时间,最终在github中找到了对我这个问题的解决方法网址:https://github.com/tensorflow/tensorflow/issues/7648#issuecomment-280866214该bug主要表现为tensorflow无法使用gpu进行计算,而cuda和显卡驱动都是正常的请先按照上面的网找对照我的问题是anaconda中的tensor...

2018-03-25 17:38:58 871

原创 深度学习环境配置记录(使用ubuntu16.04+cuda8.0+cudann6.0+anaconda)

 Ubuntu分两个区一个是交换空间swap另一个在/下不用多分安装的位置直接选择机械硬盘 执行如下语句,安装显卡驱动 sudoadd-apt-repository ppa:graphics-drivers/ppasudoapt-get updatesudoubuntu-drivers devicessudoapt-get install nvidia-384...

2018-03-21 20:08:45 617

原创 fatal error: nsync_cv.h: No such file or directory

此文仅关于Faster-RCNN_TF第一步 先将(你的环境路径)lib/python2.7/site-packages/tensorflow/include/tensorflow/core/platform没有使用anaconda的路径类似下面:/usr/local/lib/python2.7/dist-packages/tensorflow/include/tensorflow/core/pl...

2018-03-21 20:06:08 3363

翻译 关于anaconda中caffe——gup的错误

关于caffe的错误ImportError: libprotobuf.so.12: cannot open shared object file: No such file or directory的解决方法来自 https://www.youtube.com/watch?v=bHWhy9kEB1M在anaconda装gup的caffe后在import caffe时可能

2018-01-02 12:51:10 4787

转载 const指针的引用

http://bbs.youkuaiyun.com/topics/310047017const用法详解http://bbs.youkuaiyun.com/topics/3100076101)对于非指针引用的形参,如fun1,传入非const实参没问题,如fun1(a)但对于指针引用的形参,如fun,传入非const实参却有问题,如fun(b),而传入

2017-04-15 15:00:27 292

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除