小知识
runningwei
这个作者很懒,什么都没留下…
展开
-
What is the meaning of the /dist directory in open source projects?
Since I first saw a dist/ directory in many open source projects, usually on GitHub, I've been wondering what it means. (I'm a foreigner, no native in english)With dist, vendor, lib, src, and many o...转载 2018-08-16 12:21:33 · 193 阅读 · 0 评论 -
Shell脚本语法
1. 第一行必须是"#!/bin/sh"它不是注释,"#!/bin/sh"是对shell的声明,说明你所用的是那种类型的shell及其路径所在; 如果没有声明,则脚本将在默认的shell中执行,默认shell是由用户所在的系统定义为执行shell脚本的shell. 如果脚本被编写为在Kornshell ksh中运行,而默认运行shell脚本的为C shell csh,则脚本在执行过程中很可...转载 2018-08-16 16:20:19 · 108 阅读 · 0 评论 -
编程小知识
Question: What Are The Advantages/Disadvantages Of One-Based Vs. Zero-Based Genome Coordinate Systems https://stackoverflow.com/a/22074424 很好地解释了NumPy arrays是如何存储和引用的。...原创 2018-08-23 18:57:21 · 332 阅读 · 0 评论 -
tensorflow查看feature map的shape
方法一,输入一个常量,然后在tensorboard中查看。方法二sess = tf.Session(config=tfconfig)import cv2import numpy as npimg = cv2.imread('./image.jpg')print('img shape =', img.shape)operations = tf.get_default_grap...原创 2019-01-07 20:50:36 · 1485 阅读 · 0 评论