1,概述 模型量化应该是现在最容易实现的模型压缩技术,而且也基本上是在移动端部署的模型的毕竟之路。模型量化基本可以分为两种:post training quantizated和quantization aware training。在pyrotch和tensroflow中都提供了相应的实现接口。 对 ...
分类:
其他好文 时间:
2019-12-18 12:55:19
阅读次数:
322
环境准备 建议16GB RAM sed -i '/^SELINUX/s/enforcing/disabled/' /etc/selinux/config systemctl stop firewalld && systemctl disable firewalld systemctl stop Ne ...
分类:
其他好文 时间:
2019-12-18 12:40:42
阅读次数:
118
一、实验环境 1.Windows10x64 2.anaconda4.6.9 + python3.7.1(anaconda集成,不需单独安装) 3.pyinstaller3.5 二、任务需求 三、问题描述 1.文件1中内容,添加至总文件后,被后续的文件2覆盖! 2.文件1添加至总文件后,添加一行打印语 ...
分类:
编程语言 时间:
2019-12-18 11:14:02
阅读次数:
129
https://blog.csdn.net/dake1994/article/details/84294573 使用Anaconda安装使用Anaconda安装使用faiss是最方便快速的方式,facebook会及时推出faiss的新版本conda安装包,在conda安装时会自行安装所需的libgc ...
分类:
其他好文 时间:
2019-12-17 22:48:20
阅读次数:
870
编译apache httpd 安装依赖包。 [root@localhost ~]# yum -y install pcre pcre-devel expat-devel 编译apr和apr-util。 [root@localhost ~]# ls anaconda-ks.cfg apr-1.6.3. ...
分类:
其他好文 时间:
2019-12-16 22:45:01
阅读次数:
150
import glob import os.path import numpy as np import tensorflow as tf from tensorflow.python.platform import gfile import tensorflow.contrib.slim as s... ...
分类:
编程语言 时间:
2019-12-16 22:21:36
阅读次数:
109
import tensorflow as tf INPUT_NODE = 784 OUTPUT_NODE = 10 IMAGE_SIZE = 28 NUM_CHANNELS = 1 NUM_LABELS = 10 CONV1_DEEP = 32 CONV1_SIZE = 5 CONV2_DEEP =... ...
分类:
编程语言 时间:
2019-12-16 22:16:07
阅读次数:
119
摘自:https://blog.csdn.net/qq_31443999/article/details/88750833 win10安装TensorFlow卡崩更改为国内清华大学镜像源,即可。 具体做法在c:\user(或者用户)\电脑的用户名\,目录下创建一个命名为“pip”的文件夹(如:C:\ ...
摘要:本文主要介绍另外一些稍微有点难度的功能函数。 1、高级操作 1.1 tf.gather tf.gather 可以实现根据索引号收集数据的目的。 1.2 tf.gather_nd tf.gather_nd函数可以获取某一个或者某几个点的数据。 1.3 tf.boolean_mask 利用函数tf ...
分类:
其他好文 时间:
2019-12-16 20:56:04
阅读次数:
76
根据python的版本进行下载相应的文件 一、安装TensorFlow 进入网址https://pypi.org/project/tensorflow/#files下载TensorFlow文件 进入下载好的文件目录,在创建的虚拟环境进行安装 最后import tensorflow安装成功 二、安装O ...
分类:
编程语言 时间:
2019-12-16 00:06:23
阅读次数:
477