自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

lssc4205的博客

分享知识,收获快乐

  • 博客(9)
  • 资源 (5)
  • 收藏
  • 关注

原创 keras模型转pb格式

千万不能用tf.keras保留的模型h5文件去转pb文件,各种坑!但是可以用tf.keras训练模型,保存权重文件之后,再有keras加载网络文件和权重,再保留成模型h5文件,注意的是网络文件里面的定义也要用keras的层。之后keras转pb可直接用https://github.com/amir-abdi/keras_to_tensorflow里面的keras_to_tensorflow.py转换。...

2020-07-29 19:38:52 793

原创 Check failed: registry.count(type) == 1 (0 vs. 1) Unknown solver type: SGD (known types: )

问题在xcode下面编译调试caffe.cpp时出现Check failed: registry.count(type) == 1 (0 vs. 1) Unknown solver type: SGD (known types: )解决方法在caffe.cpp中加入#include "caffe/solvers/sgd_solver.cpp"

2020-07-04 20:02:40 424

转载 CNN中卷积操作十大改进方向(Depth-wise/ Dilated/ Deformable/ Shuffle/ SENet etc)

转自:作者:人工智豪链接:https://www.jianshu.com/p/71804c97123d來源:简书著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。CNN从2012年的AlexNet发展至今,科学家们发明出各种各样的CNN模型,一个比一个深,一个比一个准确,一个比一个轻量。我下面会对近几年一些具有变革性的工作进行简单盘点,从这些充满革新性的工作...

2019-04-02 09:29:52 678 1

原创 tf.get_session_handle tf.get_session_tensor tf.delete_session_tensor

tf.get_session_handletf.get_session_handle( data, name=None)返回作为data的handle,注意data须为tensor有点抽象,文档里解释的是使用返回的handle,注意必须是sess.run之后返回的handle在下一次run之前,配合tf.get_session_tensor,可使用data作为输...

2019-02-23 18:39:56 479

原创 tf.scatter_update和tf.batch_scatter_update

tf.scatter_update函数定义:tf.scatter_update( ref, indices, updates, use_locking=True, name=None)需要说明的是,updates.shape = [*indices.shape, *ref.shape[1:]], upadtes的shape不一定与ref的sh...

2019-02-20 17:01:01 1148

原创 Unknown layer type: shortcut in function cv::dnn::darknet::ReadDarknetFromCfgFile解决方法

由于yolo3中的shortcut层还不被当前版本的opencv所支持,所以会报错升级opencv即可

2018-12-16 19:16:49 6511 16

原创 sklearn.datasets加载MNIST Original报错的解决方法

问题:由于国内网络无法正常访问mldata,导致sklearn.datasets下载MNIST Original时出现连接错误 解决方法:通过其它方法获取mnist-original.mat文件,在当前文件夹下面新建mldata文件夹,并放入.mat文件,同时在datasets.fetch_mldata时需指定data_home为当前目录。 附.mat文件百度网盘地址:https:...

2018-07-17 17:41:43 7958 6

原创 使用python合并excel文件

       工作上需要把几个较大的excel文件合并成单个文件,网上查了一堆,都是把excel合并成excel,总感觉会相当慢,本身用python的xlrd包读取excel大文件已经是相当慢了,比如我遇到的100多兆的xlxs文件,读取要4分钟,相当崩溃,而且要转换到excel文件我看到的是用python的xlwt一个cell一个cell地写,估计是相当地...

2018-04-10 14:42:17 1281 5

原创 pytorch里的pack_padded_sequence和pad_packed_sequence解析

为什么要用pack_padded_sequence       在使用深度学习特别是LSTM进行文本分析时,经常会遇到文本长度不一样的情况,此时就需要对同一个batch中的不同文本使用padding的方式进行文本长度对齐,方便将训练数据输入到LSTM模型进行训练,同时为了保证模型训练的精度,应该同时告诉LSTM相关padding的情况,此时,pytorc...

2018-03-07 18:46:24 38706 17

Applied_Text_Analysis_with_Python

Applied_Text_Analysis_with_Python见过的最好的pdf版本,

2018-09-11

HTML and CSS Design and Build Websites.pdf

Every day, more and more people want to learn some HTML and CSS. Joining the professional web designers and programmers are new audiences who need to know a little bit of code at work (update a content management system or e-commerce store) and those who want to make their personal blogs more attrac

2017-12-21

Pro HTML5 Games, 2nd Edition.pdf

Build your next game on a bigger scale with Pro HTML5 Games. This essential book teaches you to master advanced game programming in HTML5. You’ll learn techniques that you can transfer to any area of HTML5 game development to make your own professional HTML5 games. Led by an expert game programmer, you’ll build two complete games in HTML5: a strategy puzzle game based on the Box2d physics engine and in the style of Angry Birds and a real-time strategy (RTS) game complete with units, buildings, path-finding, artificial intelligence, and multiplayer support. This new and fully updated second edition now includes chapters on mobile game development and an essential game developer’s toolkit. Understand how to develop complex, bolder games and become an HTML5 games pro using Pro HTML5 Games today. What You’ll Learn Create realistic physics in your game by incorporating the Box2d physics engine Design large worlds with lots of characters and let users interact with them Use sprite sheets, panning, parallax scrolling, and sound effects to build a more polished game Incorporate pathfinding and steering to help characters navigate through your world Create challenging levels with intelligent enemies by using decision trees, state machines, and scripted events Add multiplayer in your games using Node.js and the WebSocket API

2017-12-21

Algorithms in a Nutshell

Creating robust software requires the use of efficient algorithms, but programmers seldom think about them until a problem occurs. This updated edition of Algorithms in a Nutshell describes a large number of existing algorithms for solving a variety of problems, and helps you select and implement the right algorithm for your needs—with just enough math to let you understand and analyze algorithm performance. With its focus on application, rather than theory, this book provides efficient code solutions in several programming languages that you can easily adapt to a specific project. Each major algorithm is presented in the style of a design pattern that includes information to help you understand why and when the algorithm is appropriate. With this book, you will: Solve a particular coding problem or improve on the performance of an existing solution Quickly locate algorithms that relate to the problems you want to solve, and determine why a particular algorithm is the right one to use Get algorithmic solutions in C, C++, Java, and Ruby with implementation tips Learn the expected performance of an algorithm, and the conditions it needs to perform at its best Discover the impact that similar design decisions have on different algorithms Learn advanced data structures to improve the efficiency of algorithms

2017-10-24

Opinion mining and sentiment analysis.pdf

情感分析 意见挖掘

2017-06-20

空空如也

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

TA关注的人

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