自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

muli

浅夏微凉,冷暖自知

  • 博客(7)
  • 资源 (2)
  • 收藏
  • 关注

原创 ubantu中为每个文件夹里面的文件生成对应的txt文件,内容为文件夹的名字

参考连接:https://blog.csdn.net/banana1006034246/article/details/791604600:将同一类别的不同图片放在一个目录下,将此文件放在此目录下执行,为每张图片生成txt文件,内容就是目录的名字,txt文件 保存在 文件夹 1-image_labels_dir 里面1:文件夹为一个类别,如: Adir=$(cd "$(dirname "...

2019-06-29 22:26:14 407

原创 tensorflow四舍五入 与 大于某个值为1,小于为0

参考链接: https://blog.csdn.net/xxy0118/article/details/85999155#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Fri Jun 28 16:32:09 2019@author: muli"""import tensorflow as tflabel ...

2019-06-28 16:40:45 2544

原创 图像多标签标注准确率(accuracy)、精确率(precision)、召回率(recall)和F1值计算

参考链接:https://blog.csdn.net/weixin_41650458/article/details/82555775#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Thu Jun 13 21:09:48 2019@author: muli"""import numpy as np #y_t...

2019-06-13 21:27:47 5879 7

原创 tf.placeholder_with_default案例

#!/usr/bin/env python3# -*- coding: utf-8 -*-"""Created on Fri Jun 7 11:17:10 2019@author: muli"""import tensorflow as tfimport numpy as npdef mand(a): # tf.placeholder_with_default ...

2019-06-08 11:28:50 2564

原创 tensorflow中对指定变量进行初始化

获取未初始化的变量集合print(sess.run(tf.report_uninitialized_variables()))例如我的:[b’Conv2d_1b_1x1/weights’ b’Conv2d_1b_1x1/biases’ b’Conv2d_2a_5x5/weights’ b’Conv2d_2a_5x5/biases创建所有变量集合:lac_var=[]获取所有变量:...

2019-06-08 11:08:23 1546

原创 报错:tensorflow.InvalidArgumentError: Input reshape is 7680 values, but the requested shape has 768

报错:tensorflow.python.framework.errors_impl.InvalidArgumentError: Input to reshape is a tensor with 76800 values, but the requested shape has 768 print("auxiliary_tensor:",auxiliary_tensor) # ...

2019-06-05 20:00:30 2969 2

原创 读取classify_image_graph_def.pb的tensor name

# -*- coding: utf-8 -*-import tensorflow as tfimport osmodel_dir = 'Inception_model'model_name = 'classify_image_graph_def.pb'# 读取并创建一个图graph来存放Google训练好的Inception_v3模型(函数)def create_graph():...

2019-06-01 10:45:46 899 1

《R语言编程艺术》

《R语言编程艺术》很适合R语言的初学者。有兴趣的小伙伴,赶紧入手学习吧

2018-07-12

李菲菲斯坦福CS231n课程资料

李菲菲斯坦福CS231n课程资料,中英文对照的PPT。嗯嗯呢

2018-07-05

空空如也

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

TA关注的人

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