会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
YouWeiH
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
18
下一页
2020年1月6日
使用pipreqs导出python项目所需的环境
摘要: 安装pipreqs pip install pipreqs 使用方法: pipreqs 项目路径 会自动导出requirements.txt文件 若出现encoding错误,进入pipreqs.py直接修改对应行为utf-8即可 使用pip install -r requirements.txt 即
阅读全文
posted @ 2020-01-06 10:56 you-wh
阅读(491)
评论(0)
推荐(0)
2020年1月4日
限制tensorflow训练时的显存设置,以及可见显卡号
摘要: import tensorflow as tf import os os.environ["CUDA_VISIBLE_DEVICES"] = '0' #use GPU with ID=0 config = tf.ConfigProto() config.gpu_options.per_process
阅读全文
posted @ 2020-01-04 11:58 you-wh
阅读(729)
评论(0)
推荐(0)
2019年12月24日
tensorflow打印pb、ckpt模型的参数以及在tensorboard里显示图结构
摘要: 打印pb模型参数及可视化结构import tensorflow as tf from tensorflow.python.framework import graph_util tf.reset_default_graph() # 重置计算图 output_graph_path = '/home/h
阅读全文
posted @ 2019-12-24 16:13 you-wh
阅读(5620)
评论(0)
推荐(0)
crt无法修改背景
摘要: 当会话选项 里面的终端类型选择为Linux时,是无法修改外观颜色方案的。可以选择为vt100,就可以修改颜色了
阅读全文
posted @ 2019-12-24 15:22 you-wh
阅读(612)
评论(0)
推荐(0)
怎么在tensorflow中打印graph中的tensor信息
摘要: from tensorflow.python import pywrap_tensorflow import os checkpoint_path=os.path.join('./model.ckpt-100') reader=pywrap_tensorflow.NewCheckpointReade
阅读全文
posted @ 2019-12-24 14:01 you-wh
阅读(901)
评论(0)
推荐(0)
2019年12月17日
voc数据集坐标,coco数据集坐标
摘要: voc数据集 voc,如上图 xmin ,ymin ,xmax, ymax bbox的坐标格式是box的左上角和右下角的坐标 坐标的方式是在第四象限,且x越往右越大,y越往下越大 coco数据集 x,y,w,h box左上角的坐标以及宽、高 图像送入网络之前通常进行的一步预处理,减去图像的均值,目的
阅读全文
posted @ 2019-12-17 09:49 you-wh
阅读(3616)
评论(0)
推荐(0)
2019年12月8日
word从任意页设置页码
摘要: 把所有页都设置页码 首先设置分隔符,下一页 在第二节中,找到插入页码,设置起始页码为1即可
阅读全文
posted @ 2019-12-08 14:56 you-wh
阅读(389)
评论(0)
推荐(0)
2019年12月7日
图片中的公式转为word格式,从图片提取word公式、latex公式
摘要: 从图片、PDF或手写笔记中提取LaTeX,word公式 两种方法,第一种针对无mathtype工具的,图片转latex格式再转mathml格式 第二种有mathtype的,图片转latex格式再转mathtype 图片转latex格式再转mathml格式 步骤一:下载工具,百度mathpix sni
阅读全文
posted @ 2019-12-07 14:34 you-wh
阅读(7451)
评论(0)
推荐(1)
2019年12月3日
Linux下统计当前文件夹下的文件个数
摘要: Linux下统计当前文件夹下的文件个数 √ ls -l |grep "^-"|wc -l
阅读全文
posted @ 2019-12-03 16:53 you-wh
阅读(264)
评论(0)
推荐(0)
测试tensorflowgpu版本是否可用
摘要: 输入一下代码即可 import tensorflow as tf print(tf.test.is_gpu_available())
阅读全文
posted @ 2019-12-03 10:01 you-wh
阅读(10891)
评论(0)
推荐(0)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
18
下一页
公告