logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

Ubuntu: 安装 OMNeT++ 仿真工具

依赖库Note:在Ubuntu下才需要事先安装这些依赖库。其他Linux系统不需要,可直接跳至工具安装。sudo apt-get updatesudo apt-get install build-essential gcc g++ bison flex perl \qt5-default tcl-dev tk-dev libxml2-dev zlib1g-dev defa...

ubuntu: scp指令 (远程拷贝)

Introducescp是secure copy的简写。用于在Linux下进行远程拷贝文件的命令,和它类似的命令有cp,不过cp只是在本机进行拷贝不能跨服务器,而且scp传输是加密的。当你服务器硬盘变为只读 read only system时,用scp可以帮你把文件移出来。语法$ scp --helpunknown option -- -usage: scp [-12346BC...

ubuntu: 安装 摄像头驱动

UVC购买摄像头的时候知道了大部分摄像头不支持Linux系统。经过@陶大佬的指点,发现可以通过安装cheese来激活Ubuntu自带的摄像头驱动(UVC)。Tutorial首先,查看自己要购买的摄像头是否支持 UVC驱动 。如果在 列表:Linux UVC driver and tools 中,则说明支持。安装cheese来激活UVC驱动。只需通过一条简单的指令即可:s...

ubuntu: 控制&查看 进程

toptop命令是一个常用的查看系统资源使用情况和查看占用系统资源最多的进程的命令。top以列形式显示所有的进程,占最多CPU资源的进程会显示在最上面。键盘快捷键Ctrl-C会终止目前在终端上运行的进程。htophtop命令是top的改进版。默认情况下,大多数Linux发行版本都没有安装htop。安装指令:sudo apt-get install htop htop命令显示的信息与top相同,但它

#ubuntu
tensorflow: variable的值 与 variable.read_value()的值 区别

问题查看 tensorflow api manual 时,看到关于 variable.read_value() 的注解如图:那么在 tensorflow 中,variable的值 与 variable.read_value()的值 到底有何区别?实验代码# coding=utf-8import tensorflow as tf# Create a variable.w = tf.Variable

#tensorflow
tensorflow: bn层 的 decay参数项

实验五:探究 batch normalization 过程中的 decay 参数项 在 train 和 test 过程中的不同作用。  在 decay=0 (即移动偏移无损失)时:import tensorflow as tfdef func(in_put, layer_name, is_training=True):with tf.variable_scope(layer_name,

#tensorflow
tensorflow: 查看 tensor详细数值

不能直接用print的原因:print只能打印输出shape的信息,而要打印输出tensor的值,需要借助 class tf.Session, class tf.InteractiveSession。因为我们在建立graph的时候,只建立tensor的结构形状信息,并没有执行数据的操作。法一:>>> import tensorflow as tf>>> a=tf.constant([...

#tensorflow
tensorflow: 对variable_scope进行reuse的两种方法

方法一:模板:具体示例:方法二:模板:# -*- coding: utf-8 -*-import tensorflow as tffrom tensorflow.python.ops import variable_scope as vs### 改动部分 ###def func(..., reuse=False):### 改动部分 ###if reuse:

#tensorflow
tensorflow: (data_format) NHWC、NCHW 区别与转换

区别NHWC[batch, in_height, in_width, in_channels]NCHW[batch, in_channels, in_height, in_width]转换NHWC –> NCHW:import tensorflow as tfx = tf.reshape(tf.range(24), [1, 3, 4, 2])out = tf.transpose(x

#tensorflow
tensorflow: 损失函数(Losses Functions) 探究

API官方定义From tf.nn.l2_loss:tf.nn.l2_lossl2_loss( t,name=None ) Defined in tensorflow/python/ops/gen_nn_ops.py.See the guide: Neural Network > LossesL2 Loss.Computes half the

    共 89 条
  • 1
  • 2
  • 3
  • 9
  • 请选择