
deep learning
scarlette47
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
配置深度强化学习环境
1、win系统装"gym[atari]"(1)第一步,安装gympip install gym(2)第二步,安装ataripip install --no-index -f https://github.com/Kojoley/atari-py/releases atari_py2、ubuntu上装"gym[atari]"在ubuntu上安装 atari-py,首先要确保已安装 cmake,zlib1g,g++sudo apt install cmakesudo..原创 2022-02-24 09:40:46 · 1029 阅读 · 0 评论 -
pycharm 中import tensorflow报错找不到cuda但是terminal中可以正常import
原因:terminal中运行的过程中有系统环境配置:source.bashrc但是pycharm中没有配置cuda路径所以找不到cuda解决在pychrm的需要运行的代码处配置运行的环境变量原创 2021-03-05 07:13:58 · 677 阅读 · 1 评论 -
nlp阅读理解比赛经验贴
(一)比赛类型多篇章阅读理解篇章长度长问题有多跳类型没有yes no类型(一)数据预处理1、blue、rouge、f1、tfidf、bm25进行相似度度量2、采用前1000字、与问题最相似的几句话的策略,效果都不好,只能达到76%的覆盖率3、用相似度进行排序,将1-3个句子的前一句后两句,4-6个句子前一句后一句,7-10个句子本身,覆盖率提升到95%,平均长度1600,后期优化到...原创 2019-10-21 15:12:21 · 1659 阅读 · 2 评论 -
pytorch版本与cuda版本的匹配问题
问题pytorch最新版本无法识别cuda9,导致torch.cuda.is_availabel()都是fail解决pytorch版本换为1.1.0,而不是默认安装的较新版本(1.3.0)原创 2019-10-15 11:40:14 · 5787 阅读 · 3 评论 -
数据集整理,不断补充
tsinghua100K:http://cg.cs.tsinghua.edu.cn/traffic-sign/tutorial.html原创 2017-12-05 08:07:47 · 459 阅读 · 0 评论 -
文本处理之中的关系抽取论文阅读
好久没有写东西了~~感觉都跟时代脱节了~~幸亏有师兄师弟拉扯。今天看了实体关系抽取的论文,简单记录一下(1)论文名称:Attention-Based Bidirectional Long Short-Term Memory Networks for Relation Classification作者信息:中科大自动化所 Zhou模型名称:Att+BLSTM论原创 2018-01-17 09:38:59 · 2326 阅读 · 0 评论 -
编译caffe
1、makefile.conf文件的修改:(1)cudnn(2)matlab路径改为:/usr/local/MATLAB/R2014a2、make all -j 16make test -j 16make runtest -j 163 make matcaffe4\make distributemake pycaffe5、gedit ~/.bashrc原创 2016-05-15 08:29:22 · 304 阅读 · 0 评论 -
YOLOv3使用笔记——计算mAP、recall
1.批处理测试图输出检测结果文本./darknet detector valid cfg/voc.data cfg/yolov3-voc.cfg results/yolov3-voc_final.weights -out detect_result.txt -gpus 0,1 -thresh .5使用detector valid参数,具体函数是detector.c下的validate_d...转载 2018-07-23 09:37:01 · 4652 阅读 · 3 评论 -
the dependency packages of caffe
terminalsudo apt-get updatesudo apt-get install libprotobuf-dev libleveldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev libgflags-dev libgoogle-glog-dev liblmdb-dev protobuf-compiler libatla...原创 2018-08-17 10:18:25 · 290 阅读 · 0 评论 -
a great tool for object detection labeling
https://github.com/tzutalin/labelImg原创 2018-08-17 10:22:34 · 211 阅读 · 0 评论 -
caffe
问题/usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory解决方案make cleanexport CPLUS_INCLUDE_PATH=/usr/include/python2.7make all -j8原因pyt...原创 2018-08-17 16:09:54 · 241 阅读 · 0 评论 -
pytorch离线安装
前一阵配置Pytorch的虚拟环境,即使加了清华镜像也好像跳到了默认路径,装载龟速,更可恶的是中间会挂掉,无奈之下,开始研究如何快速安装,终于找到了(泪奔)~~~~~ 首先,到https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64/中下载所需的.tar.bz2,如果是环境python,就采用 ...转载 2018-08-29 21:10:58 · 1769 阅读 · 0 评论 -
build_release/cuda/src/caffe/solvers/nesterov_solver.o
nvcc fatal : redefinition of argument 'optimize'Makefile:594: recipe for target '.build_release/cuda/src/caffe/solvers/nesterov_solver.o' failedmake: *** [.build_release/cuda/src/caffe/solvers/n原创 2017-12-11 19:31:08 · 3147 阅读 · 0 评论 -
detection dataset
原理上一篇文章,已经说过了,大家可以参考一下,Faster-Rcnn进行目标检测(原理篇)实验我使用的代码是python版本的Faster Rcnn,官方也有Matlab版本的,链接如下:py-faster-rcnn(python)faster-rcnn(matlab)环境配置按照官方的README进行配置就好,不过在这之前大家还是看下硬件要求吧Fo转载 2017-11-02 09:09:42 · 559 阅读 · 0 评论 -
keras deep learning use gpu
keras is a convinient deep learing package. so i try to use it to apply lstm. but if you want keras use gpu ,you need to config ~/.theanorc[global]floatX = float32device = gpu0[lib]cnmem原创 2016-05-31 16:32:12 · 525 阅读 · 0 评论 -
keras
Multilayer Perceptron (MLP): from keras.models import Sequentialfrom keras.layers.core import Dense, Dropout, Activationfrom keras.optimizers import SGDmodel = Sequential()model.add(Dense(20, 6原创 2016-05-22 08:27:26 · 1235 阅读 · 0 评论 -
ORDER
sudo apt-get updatesudo apt-get install binutils gcc make automake vim git autoconf libtool g++ g++-4.6 gawk lib32z1 gfortran freeglut3-dev build-essential libx11-dev libxmu-dev libxi-dev libgl1-mes原创 2016-06-03 18:36:23 · 313 阅读 · 0 评论 -
keras使用技术技巧
从keras的github issue中学习了几个技巧,记录如下:(一)return best modelIs the only -- currently existing -- solution, to save the weights to a hdf5 file using ModelCheckpoint and then loading the file again and原创 2016-06-06 08:54:21 · 4964 阅读 · 0 评论 -
my own objective of keras
def mape_didi(y_true, y_pred): M= T.switch(T.lt(y_true, 0.8),1000000000, y_true) return K.mean(K.abs(y_true-y_pred)/M, axis=-1)原创 2016-06-15 07:47:38 · 363 阅读 · 0 评论 -
caffe error
(1)caffe/proto/caffe.pb.h: No such file or director,这是因为protobuf和pillow没有安装,或者是通过apt-get安装的。使用pip重新安装一遍即可解决问题。删除caffe-mast(提前保存Makefile.config和Makefile),解压,解压重新编译。pip install protobuf --upgrade -i原创 2016-09-02 19:16:55 · 307 阅读 · 0 评论 -
caffe中cpu_data 和mutable_cpu_data
一开始看代码的时候会纳闷,为啥caffe里头又一个cpu_data还要有一个mutable_cpu_data[cpp] view plain copy const void* SyncedMemory::cpu_data() { to_cpu(); return (const void*)cpu_ptr_;原创 2016-09-03 07:31:36 · 4751 阅读 · 0 评论 -
有空一定要学习
http://blog.youkuaiyun.com/zyazky/article/details/53082912转载 2016-12-22 08:48:37 · 264 阅读 · 0 评论 -
LMDB 生成及 均值文件
Caffe︱构建lmdb数据集与各类文件路径名设置细解Lmdb生成的过程简述1、整理并约束尺寸,文件夹。图片放在不同的文件夹之下,注意图片的size需要规约到统一的格式,不然计算均值文件的时候会报错。 2、将内容生成列表放入txt文件中。两个txt文件,train训练文件、val测试文件。 Train里面就是你的分类了。 3、形成LMDB数据转载 2017-06-26 15:35:13 · 3802 阅读 · 0 评论 -
下载 caffe
git clone https://github.com/BVLC/caffe.git原创 2017-09-14 07:26:19 · 1034 阅读 · 0 评论 -
Ubuntu 14.04下OpenCV 3.0+Python 2.7安装测试
本文记录了Ubuntu 14.04下使用源码手动安装OpenCV 3.0的过程。此外记录了在Python中安装及载入OpenCV的方法。1、安装OpenCV所需的库(编译器、必须库、可选库)GCC 4.4.x or laterCMake 2.6 or higherGitGTK+2.x or higher, including headers (libgtk2.0-dev)pkg-con转载 2017-11-01 19:51:19 · 351 阅读 · 0 评论 -
run rcnn code
1\caffe 0.999(http://blog.youkuaiyun.com/dachao_xu/article/details/50387912)之前因为之前博客先装caffe版本不能兼容rcnn,下载caffe v0.999版本也出现来编译不能通过的情况。现在的解决办法还是使用caffe v0.999版本,之所以出现编译不过的问题。是因为未有找到全局变量signbit那么这个全局变原创 2016-05-14 17:29:30 · 438 阅读 · 0 评论