项目实用技巧
SHY_VWind
Technical Ants
展开
-
conda/pip/linux软件源替换提高软件下载速度
本文主要提供好用的软件源地址配置。1、.condarc主要用于conda install时的软件源,需要安装conda环境;mv .condarc ~/##.condarcchannels: - defaultsshow_channel_urls: truechannel_alias: https://mirrors.tuna.tsinghua.edu.cn/anacondadefault_channels: - https://mirrors.tuna.tsinghua.edu.c原创 2020-12-22 16:32:49 · 179 阅读 · 0 评论 -
window10下vscode运行python和C++程序需要的配置过程
1、pychram、vscode、jupyter notebook都可以运行python,是有界面的编辑器;还可以安装Anacanda;不过这里是使用vscode配置python和C++运行过程,下面时亲试有效的链接:使用vscode运行python使用vscode配置C++(win10、ubuntu16.04)visual studio 2017配置注意配置C++时,按照上述...原创 2020-03-27 13:05:51 · 704 阅读 · 0 评论 -
windows批处理得到文件夹下所有文件名、根据文件名txt进行copy、批量修改文件夹下文件后缀
1、批量修改后缀名:ren *.html *.asphttps://jingyan.baidu.com/article/22a299b5f2627c9e19376acd.html2、得到文件夹下所有文件名:DIR *.jpg /B >LIST.TXThttps://blog.csdn.net/Jo_liver/article/details/100625833?depth_1-...原创 2020-02-26 18:32:18 · 1923 阅读 · 0 评论 -
python2、3的文本及终端显示的中文编解码问题
1、python2和python3的中文编解码有很大的不同,其中python2的字符串str类型和Unicode类型是不同的,而python3的str字符串类型和unicode是相同的,因此操作会有不同。2、终端显示中文的问题:终端显示中文需要知道sys和locale的默认编码设置,windows和linux系统对应的是不同的,一般windows稍微sys.getdefaultencoding...原创 2020-01-08 23:56:34 · 534 阅读 · 0 评论 -
Typora编写md文件
跟Vscode中装些许插件,例如MarkdownPDF可以将md文件转成html、pdf等格式的文件,但是当md文件中存在目录连接时,转换后的pdf、html文件中链接会失效,同时这种方式很难在md文件中插入latex公式,并且背景版式也很难修改,而这些问题在利用Typora软件编写md文件时很容易解决,Typora是一款仅支持MarkDown文件书写的软件,支持多种格式的导出;软件下载路径...原创 2019-11-21 10:29:30 · 3767 阅读 · 0 评论 -
VScode写markdown并转换成pdf、html等文件
Vscode安装Markdown PDF插件,即可将vscode编写得md文件转换成pdf、html等文件格式输出;https://www.jianshu.com/p/f1029409f468https://jingyan.baidu.com/article/eae07827794d661fed54854c.htmlmarkdown文件(.md)语法:https://gith...原创 2019-11-19 14:23:37 · 4068 阅读 · 0 评论 -
知识总结
1、cudnn.enabled = True和cudnn.benchmark = True作用:提高运行效率;https://blog.csdn.net/qq_27061325/article/details/875411672、pytorch的loss:https://blog.csdn.net/ls83776736/article/details/80979470https:/...原创 2019-08-04 15:54:48 · 351 阅读 · 0 评论 -
linux下torch-0.4.0安装流程及心得
1、https://pytorch.org/:可以按照官网下载对应的whl文件;如果官网打不开,参考网址https://blog.csdn.net/m0_37615398/article/details/83510891或https://blog.csdn.net/qq_34374211/article/details/80156517的说明安装,注意可以根据自己的硬件平台选择cuda8.0编...原创 2019-06-27 22:44:16 · 5304 阅读 · 0 评论 -
pytorch下输入输出图像尺寸计算
1、https://blog.csdn.net/qq_21997625/article/details/87252780https://blog.csdn.net/u012932178/article/details/80731735https://blog.csdn.net/g11d111/article/details/82665265https://blog.csdn.net/g...原创 2019-07-14 23:24:28 · 7797 阅读 · 2 评论 -
深度学习环境搭建-docker篇
1、先根据gpu型号从nvidia官网(http://www.geforce.cn/drivers)下载相应得驱动具体安装步骤参考如下博客:https://blog.csdn.net/hjq376247328/article/details/79816992https://blog.csdn.net/sunnydream1112/article/details/80587047...原创 2019-06-30 23:28:50 · 918 阅读 · 0 评论 -
深度学习的具体优化求解过程
1、https://blog.csdn.net/qq_27261889/article/details/82915598https://mp.weixin.qq.com/s?__biz=MzIwMjgyMDM3MQ%3D%3D&chksm=96d998e6a1ae11f0842316044cc783f67aa410a359c8b1728e794ae8560da2752124ff5f9c...原创 2019-07-16 22:55:50 · 464 阅读 · 0 评论 -
loss训练时的不下降、nan或者为0
1、loss不下降:https://blog.csdn.net/qq_19329785/article/details/84260201https://blog.csdn.net/zongza/article/details/89185852https://blog.csdn.net/liuweiyuxiang/article/details/808569912、检测中faster...原创 2019-07-16 23:03:19 · 5708 阅读 · 0 评论 -
训练DL相关程序的一些小问题
1、程序kill后,GPU内存没有完全释放https://blog.csdn.net/jzrita/article/details/80719297如root用户通过ps aux|grep root|grep python,然后删除对应的id即可;实验证明可行;2、后台运行程序nohup python xxx.py > xxx.txt 2>&1 &注...原创 2019-07-16 23:10:23 · 154 阅读 · 0 评论 -
pytorch知识小结
https://blog.csdn.net/weixin_41990278/article/details/90311313https://blog.csdn.net/jacke121/article/details/82733197https://blog.csdn.net/qxqsunshine/article/details/82973979https://blog.csdn.n...原创 2019-07-24 22:46:34 · 153 阅读 · 0 评论 -
后台运行程序及一些常用指令
1、nohup XXX > XXX.txt 2>&1 &:后台运行程序2、python XXX.py > XXX.txt3、python XXX.py | tee XXX.txthttps://blog.csdn.net/zsytoyota/article/details/84871719https://blog.csdn.net/qq_15505...原创 2019-07-17 22:48:35 · 713 阅读 · 0 评论 -
SSIM(MSSSIM)loss和相似功能的loss总结
1、tensorflow版本https://www.e-learn.cn/index.php/content/wangluowenzhang/2498702、pytorch版本(SSIM、MSSSIM)https://github.com/jorge-pessoa/pytorch-msssim/tree/master3、contextual loss(作用同SSIM)https...原创 2019-07-25 14:04:42 · 12556 阅读 · 0 评论 -
Deep Learning项目实用技巧总结
1、https://blog.csdn.net/luqian0110/article/details/80342887拷贝文件夹时过滤一些文件夹不拷贝2、https://blog.csdn.net/u013991521/article/details/80528647linux下合并两个txt文件3、https://blog.csdn.net/fqlovetb/article/de...原创 2019-06-26 23:50:29 · 145 阅读 · 0 评论