- 博客(20)
- 收藏
- 关注
原创 Lua快速入门与Torch教程
这篇总结的真好:https://blog.csdn.net/c602273091/article/details/78940781
2019-12-16 11:35:35 259
原创 conda 安装pytorch 0.4.1
现在 0.4.1真的安装太少:https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/?C=S&O=A上清华源头直接下载,根据大小判断
2019-12-10 10:16:40 2461
原创 Windows, Linux, python编程的中文问题
最近遇到之前一个人处理数据用的是Windows下的python,而我又必须用Linux 下的python2, 所以这个问题就是编码格式十分混乱,但在看来这篇文章之后豁然开朗,感谢作者。https://blog.csdn.net/fitzzhang/article/details/51682983需要先将Windows下的按照GBK格式解码,再用utf-8编码,就可以和linux 下一样了。...
2019-11-30 14:25:45 158
原创 pip 和 conda清华镜像使用指南
1、在使用pip时候添加清华源:-i https://pypi.tuna.tsinghua.edu.cn/simple上面为清华源,在使用pip 的时候 使用将your_package_name换成自己需要安装的包名:pip install [your_package_name] -i https://pypi.tuna.tsinghua.edu.cn/simple2、...
2019-11-12 09:38:03 779 1
原创 leecode4. 寻找两个有序数组的中位数
马上就要开始吧找工作啦,本科没有刷leecode,现在开始刷题啦!每天一道题,坚持下去,加油吧!一、题目:leecode4. 寻找两个有序数组的中位数:给定两个大小为 m 和 n 的有序数组 nums1 和 nums2。请你找出这两个有序数组的中位数,并且要求算法的时间复杂度为 O(log(m + n))。你可以假设 nums1 和 nums2 不会同时为空。示例 1:nu...
2019-09-11 13:41:34 97
原创 Character Region Awareness for Text Detection(CVPR2019)解读
1、Character Region Awareness for Text Detection(CVPR2019)(https://arxiv.org/pdf/1904.01941.pdf)参考论文:1、https://blog.csdn.net/qian99/article/details/90740430 (讲的很好,复习必看)2、https://www.jianshu...
2019-07-08 12:00:48 794
原创 Ubuntu16.04安装torch loadcaffee luarocks hdf5 libcudnn 一站式解决
已经装了不下十台服务器的lua, torch,第一次花了十天,现在总结如下:1、查看cuda版本和cudnn版本nvcc -Vcat /usr/local/cuda/include/cudnn.h | grep CUDNN_MAJOR -A 2cudnn 为三个数字连起来就是版本。2、Ubuntu16.04 安装 torchgit clone https://...
2019-03-09 19:08:51 1227
原创 libxml2-dev : Depends: libxml2 (= 2.9.3+dfsg1-1) but 2.9.3+dfsg1-1ubuntu0.5 is to be installed
ubuntu16.04在安装torch的sudo bash install-deps 命令的时候,出现了有libxml2-dev破损包存在libgraphicsmagick1-dev : Depends: libxml2-dev but it is not going to be installedE: Unable to correct problems, you have held br...
2019-03-05 10:16:49 3801 1
原创 Linux中文件夹文件到GitHub, 创建仓库
github 需要想上传一个代码,但是网页的只能选择单个文件,贼难受,后来找了一些,总结一下:1.创建Github账号(已有就直接登录),创建new repository2、点击new创建一个项目,填写repository name ,勾选Initialize this repository with a README后(用于给你别人作说明)3、安装git,先输入命令git判断有没...
2019-01-10 02:03:31 280
原创 VS2013+windows+ImageMagic安装,绝对正确(C++)
因为导师给我一个活,用到ImageMagic,在网上找了太多,发现都是有错误,自己不断探索,最后总结如下,希望给后面下伙伴一些帮助。---2018年12月18日 林江 欢迎大家批评指正和转载1 创建正确的项目工程先说创建VS项目,这一步千万不要错,看似简单 文件->新建 ->项目->如果是VS2013选择Windows桌面—>windows控制台应用程序->空项目先把文件创建正...
2018-12-18 13:38:16 809
转载 MATLAB2017a-Ubuntu16安装
https://blog.csdn.net/u011713358/article/details/69659265
2018-12-11 13:40:15 145
原创 python3 中 byte 和string转换
python3 中 byte 和string转换 举例,我要将byte转换为string类型一开始我是直接使用 a = str(b)但是发现结果并非我想要的那种,后来在网上发现了一篇写的很好的文章python 3中最重要的新特性可能就是将文本(text)和二进制数据做了更清晰的区分。文本总是用unicode进行编码,以str类型表示;而二进制数据以bytes类型表示。在p...
2018-11-14 16:07:24 2469
原创 git-主机验证失效-Host key verification failed.
Host key verification failed.fatal: Could not read from remote repository.选择在图二底下,有文件地址,用vim打开就好:打开后删除FAaQ后面的,让他变成如上图所示,最后 输入 :wq 结束保存
2018-01-09 09:57:14 24054 1
原创 failed to find target with hash string android
failed to find target with hash string android
2017-08-23 09:58:49 2180
转载 1096. Consecutive Factors (20)
Among all the factors of a positive integer N, there may exist several consecutive numbers. For example, 630 can be factored as 3*5*6*7, where 5, 6, and 7 are the three consecutive numbers. Now given
2016-09-10 15:35:15 327
原创 1099. Build A Binary Search Tree (30)
A Binary Search Tree (BST) is recursively defined as a binary tree which has the following properties:The left subtree of a node contains only nodes with keys less than the node's key.The right subt
2016-09-10 10:44:08 358
转载 1098. Insertion or Heap Sort (25)
According to Wikipedia:Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion sort removes one element from the input data,
2016-09-10 10:42:28 246
原创 1109. Group Photo (25)
Formation is very important when taking a group photo. Given the rules of forming K rows with N people as the following:The number of people in each row must be N/K (round down to the nearest inte
2016-09-09 14:54:58 396
原创 1101. Quick Sort (25)
1101. Quick Sort (25)There is a classical process named partition in the famous quick sort algorithm. In this process we typically choose one element as the pivot. Then the elements less than the
2016-09-08 12:24:15 253
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人