Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4473862
  • 博文数量: 356
  • 博客积分: 10458
  • 博客等级: 上将
  • 技术积分: 4734
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-24 14:59
文章分类

全部博文(356)

文章存档

2020年(17)

2019年(9)

2018年(26)

2017年(5)

2016年(11)

2015年(20)

2014年(2)

2013年(17)

2012年(15)

2011年(4)

2010年(7)

2009年(14)

2008年(209)

发布时间:2019-08-31 22:20:58

tensorflow保存模型有多种方法第一种:saver.save(sess, "./hello_model") # 生成ckpt模型文件, hello_model.data-00000-of-00001  hello_model.index  hello_model.meta第二种:tf.train.write_graph(sess.graph_def, ./,  'hello.pb') # 生成hello.pb, 再通过freeze_graph把hello.pb与ckpt固.........【阅读全文】

阅读(181287) | 评论(1) | 转发(0)

发布时间:2019-08-08 09:22:59

......【阅读全文】

阅读(2280) | 评论(0) | 转发(0)

发布时间:2019-08-05 09:40:48

原生tensorflow模型点击(此处)折叠或打开import tensorflow as tfimport numpy as npx_data = np.random.rand(50)y_data = x_data * 0.6 + 0.8w = tf.Variable(0.)b = tf.Variable(0.).........【阅读全文】

阅读(1429) | 评论(0) | 转发(0)

发布时间:2019-08-02 20:48:06

......【阅读全文】

阅读(281262) | 评论(0) | 转发(0)

发布时间:2019-08-02 17:23:18

可批量对图片进行旋转,增大,缩小等操作,生成新的图片假设目录如下:├── train_gen└── train_org└── sheep└── 0.jpgtrain_org是原始数据,子目录sheep为标签(注意源目录下必须要有子目录做为标签,即y),0.jpg为输入数据(即train_x)。 批量生成图片到train_gen/下python代码点击(此处)折.........【阅读全文】

阅读(11205) | 评论(0) | 转发(0)

发布时间:2019-06-22 14:59:16

交叉编译mpg123下载源码https://sourceforge.net/projects/mpg123/files/解压后进入源码目录生成Makefile./configure CC=arm-openwrt-linux-gcc --host=arm-openwrt-linux --with-default-audio=alsa --enable-static --prefix=pwd/install/编译make安装make install拷贝install下的lib/libmpg123.so* lib/libmpg1.........【阅读全文】

阅读(2277) | 评论(0) | 转发(0)

发布时间:2019-05-23 10:59:07

std::list为empty时调用pop_front导致程序崩溃如果list中装的是指针,当其为empty时,再调用pop_front可能会返回一个非NULL的值,此时直接使用这个返回的指针会导致内存越界。 点击(此处)折叠或打开#include #include #include .........【阅读全文】

阅读(266697) | 评论(0) | 转发(0)

发布时间:2019-01-23 21:27:46

下载nghttp2代码https://github.com/nghttp2/nghttp2/releases解压代码, 比如解压到/home/zm/download/nghttp2-1.36.0,进入代码目录,进行编译./configure --enable-lib-only --host=arm-openwrt-linux --prefix=/opt/test/thirdparty/install/makemake install下载curl代码https://curl.haxx.se/download.htm.........【阅读全文】

阅读(3681) | 评论(0) | 转发(0)

发布时间:2019-01-11 11:09:48

windows电脑下一 安装 ADB:首先到http://adbshell.com/downloads,下载ADB Kits, 得到adb.exe AdbWinApi.dll AdbWinUsbApi.dll将这三个文件都放到C盘中的Windows/System32/目录下, 保险起见,同时拷贝这三个文件到C盘中的Windows/System/目录下 及Windows/SysWOW64/如果不拷贝到System/目录下有可能执行adb时会出.........【阅读全文】

阅读(3674) | 评论(0) | 转发(0)
给主人留下些什么吧!~~

chinaunix网友2011-02-15 16:05

看了你的博文,有这么多的体会,很佩服你的学习精神,总结出来写本书如何?我的联系方式:wuyi1352@gmail.com

回复 |  删除 |  举报

chinaunix网友2009-06-11 17:22

你好,问一下SendARP探测活动性的那是原原本本的程序吗,不缺什么吧?我运行之后SendARP的返回值总是31.不知道为什么,麻烦帮忙看看,谢谢了!

回复 |  删除 |  举报

chinaunix网友2009-05-14 17:00

文章都很好 收藏了

回复 |  删除 |  举报

wjksd2009-04-17 11:24

很厉害啊

回复  |  举报

chinaunix网友2008-11-09 16:44

师兄,我来像你学习来啦! 嘎嘎!

回复 |  删除 |  举报
留言热议
请登录后留言。

登录 注册