自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 笔记——faster R-CNN的anchorbox生成

转载自:博客

2020-08-21 09:05:39 193

转载 keras中dropout在测试时的dropout rate

参考博客:keras在测试时,dropout rate不需要改变成1.0

2020-07-29 10:09:33 1241 1

原创 学习笔记:tensorflow和keras中的交叉熵损失

学习笔记:tensorflow和keras中的交叉熵损失tensorflow1.tf.nn.softmax_cross_entropy_with_logits(labels,logits)logits未经过softmax/sigmoid,该函数会对logits进行softmax或sigmoidlabels是onehot形式2.tf.nn.sparse_softmax_cross_entropy_with_logits(labels,logits)label是onehot形式keras1

2020-07-27 10:53:47 566

原创 tf.keras.metrics.Accuracy;tf.keras.metrics.Precision;tf.keras.metrics.Recall

tf.keras.metrics.Accuracy;tf.keras.metrics.Precision;tf.keras.metrics.Recall当标签为0/1,而prediction为(0,1)区间的概率值时(如激活函数sigmoid后得到的值),三个评估函数:tf.keras.metrics.Accuracy();tf.keras.metrics.Precision();tf.keras.metrics.Recall()都是自动将prediction转化为0/1,大于0.5为1,小于等于0

2020-07-26 20:30:18 1676

原创 TypeError: Could not build a TypeSpec for...;Can‘t convert non-rectangular Python sequenceto tensor

TypeError: Could not build a TypeSpec for...;ValueError:Can't convert non-rectangular Python sequenceto tensor在修改tensorflow2.0版本的代码时出现以下错误:参考文章,在代码中加入values:数据是dataframetrainData=pd.read_csv(trainDataPath, header = None)firstProteinArrayTrain = trai

2020-07-25 16:53:48 4833

原创 Loaded runtime CuDNN library: 7604 (compatibility version 7600) but source was compiled with 7004...

今天要在tensorflow上跑程序,发现报错:Loaded runtime CuDNN library: 7604 (compatibility version 7600) but source was compiled with 7004 (compatibility version 7000)明明昨天还可以运行,今天就不行。根据错误提示,尝试把cudnn降级,打算先卸载掉7.6的版本,再重新安装,但是找不到cuda的安装目录。一整天都在找cuda安装路径,还是找不到,找不到安装路径就没办法卸载cud

2020-07-22 20:05:32 448 2

原创 linux下硬盘修复:you are in emergency mode......

linux下硬盘修复:you are in emergency mode......问题:打雷之后,电脑莫名重启,之后进不了图形界面,提示“you are in emergency mode…”原因:可能由于强制重启,导致磁盘挂载混乱解决方法:1.查看日志journalctl -xb2.查找出错的磁盘/ fsck failed#没有查找到相应的出错磁盘,但是发现红色字样的mouting Failed /home/hadoop/workspace...,并且发现存放在硬盘中的文件不见,推断

2020-07-08 19:53:03 2191

空空如也

空空如也

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

TA关注的人

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