import numpy as np dtype=np.float32 num_anchors = 6 y, x = np.mgrid[0:4, 0:4] print(y) print(x) y = np.expand_dims(y, axis=-1) x = np.expand_dims(x, axis=-1) h = np.ones((num_anchors, ), dtype=dtype) w = np.ones((num_anchors, ), dtype=dtype) xmin = x
该系列主要是<Tensorflow 实战Google深度学习框架 >阅读笔记:有了Cookbook的热身后,以这本书作为基础形成个人知识体系. Ref: [Tensorflow] Cookbook - The Tensorflow Way 第一章,简介(略) 第二章,安装(仅记录个别要点) Protocol buffer Bazel, similar with Makefile for complile. Install steps: (1) Docker (2) Tensorflow Sou
yuanwen: http://blog.csdn.net/crossky_jing/article/details/49466127 scikit-learn 练习题 题目:Try classifying classes 1 and 2 from the iris dataset with SVMs, with the 2 first features. Leave out 10% of each class and test prediction performance on these o
np.ogrid: address:https://docs.scipy.org/doc/numpy/reference/generated/numpy.ogrid.html returns an open (i.e. not fleshed out) mesh-grid when indexed, only one dimension of each returned array is greater than 1. The dimension and number of the output