起始字节 和起始位

Generative Adversarial Networks(GANs) are very difficult to evaluate as compared to other networks. And, it is very important to evaluate the quality of GANs, because it can help us in choosing the right model, or when to stop the training, or how to improve the model. Out of several methods, Frechlet Inception Distance(FID) is one performance metric to evaluate the quality of GANs.

与其他网络相比,生成对抗网络(GANs)很难评估。 而且,评估GAN的质量非常重要,因为它可以帮助我们选择正确的模型,何时停止训练或如何改进模型。 在几种方法中,Frechlet起始距离(FID)是评估GAN质量的一种性能指标。

为什么很难? (Why it is difficult?)

  1. GANs are difficult to train and instability in training can cause various problemsGAN很难训练,训练不稳定会导致各种问题
  2. Existing methods are not accurate enough现有方法不够准确
  3. It can be time-consuming and prone to errors if we do evaluate GANs manually or with naked eyes如果我们手动或裸眼评估GAN,可能会很耗时且容易出错

什么是Frechlet起始距离(FID)? (What is Frechlet Inception Distance(FID)?)

FID is a performance metric that calculates the distance between the feature vectors of real images and the feature vectors of fake images(Generated by the generator). The lower FID score represents that the quality of images generated by the generator is higher and similar to the real ones. FID is based on the feature vectors of images. If you are using FID as your performance metric then try to minimize it. It was introduced by Heusel et al in 2017.

FID是一种性能指标,用于计算真实图像的特征向量与伪图像的特征向量之间的距离(由生成器生成)。 FID分数越低,表示生成器生成的图像质量越高,并且与真实图像相似。 FID基于图像的特征向量。 如果您将FID用作性能指标,请尝试将其最小化。 它由Heusel等人于2017年推出。

Lower FID means smaller distances between synthetic and real data distributions

较低的FID意味着合成数据分布与实际数据分布之间的距离更短

Source: https://arxiv.org/pdf/1802.03446.pdf

资料来源: https : //arxiv.org/pdf/1802.03446.pdf

公式 (The Formula)

https://arxiv.org/pdf/1706.08500.pdf//arxiv.org/pdf/1706.08500.pdf

如何计算FID? (How to calculate FID?)

  1. Use the Inception V2 pre-trained model to extract the feature vectors of real images and fake images(Generated by the generator)使用Inception V2预训练模型提取真实图像和伪图像的特征向量(由生成器生成)
  2. Calculate the feature-wise mean of the feature vectors generated in step 1计算在步骤1中生成的特征向量的按特征取平均值
  3. Generate the covariance matrices of the feature vectors — C, C_w生成特征向量的协方差矩阵-C,C_w
  4. Calculate trace(The sum of the elements along the main diagonal of the square matrix) of (C+C_w-2*(C*Cₓ)¹/2)计算(C + C_w-2 *(C *Cₓ)¹/ 2)的迹线(沿方阵主对角线的元素之和)
  5. Calculate the squared difference of the mean vectors calculated in step 2 — ||m-m_w||²计算在步骤2中计算出的均值向量的平方差— || m-m_w ||²
  6. Finally, add the output of step 4 and step 5最后,添加步骤4和步骤5的输出
  1. Better than Inception Score as it is robust to noise, image distortions, and perturbations.比起Inception Score更好,因为它对噪声,图像失真和扰动具有鲁棒性。
  2. A good metric for diverse datasets多样化数据集的良好指标
  3. Computationally efficient计算效率高
  4. Can detect intra-class mode dropping可以检测类内模式丢失

Unlike Inception Score however, it is able to detect intra-class mode dropping , i.e. a model that generates only one image per class can score a high IS but will have a bad FID

但是,与Inception Score不同,它能够检测类内模式丢失,即,每个类仅生成一张图像的模型可以获得较高的IS,但FID会很差

Source: https://arxiv.org/pdf/1802.03446.pdf

资料来源: https : //arxiv.org/pdf/1802.03446.pdf

它是干什么用的? (What is it used for?)

GANs generate images and to evaluate the quality of images we need a metric. As discussed above, manual inspection of images can be time-consuming and we might miss a lot of details. FID is here to rescue us as it can evaluate the performance of the model with good accuracy.

GAN生成图像并评估图像质量,我们需要一个指标。 如上所述,手动检查图像可能很耗时,而且我们可能会遗漏许多细节。 FID可以挽救我们,因为它可以以很高的准确性评估模型的性能。

资源资源 (Resources)

GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium — https://arxiv.org/abs/1706.08500017

受两个时标更新规则训练的GAN收敛到局部Nash平衡— https://arxiv.org/abs/1706.08500017

Fréchet Inception Distance-https://nealjean.com/ml/frechet-inception-distance

Fréchet可盗梦空间距离- https://nealjean.com/ml/frechet-inception-distance

Pros and Cons of GANs Evaluation Measures — https://arxiv.org/pdf/1802.03446.pdf

GAN评估措施的利弊— https://arxiv.org/pdf/1802.03446.pdf

Thank you for reading.

感谢您的阅读。

Want to contact me — ahikailash1@gmail.com

想与我联系— ahikailash1@gmail.com

About Me:

关于我:

I am a Co-Founder and CTO of MateLabs. At Mate Labs, we are making demand forecasting easy for enterprises using automation in machine learning. I am also a Co-founder of Raven Protocol. At Raven Protocol, we are building the world’s first decentralized and distributed Artificial Intelligence Platform. And I represent Snapy, which is instant object detection and discovery tool for consumers.

我是MateLabs的联合创始人兼CTO。 在Mate Labs,我们使使用机器学习自动化的企业的需求预测变得容易。 我也是Raven Protocol的联合创始人。 在Raven协议中,我们正在构建世界上第一个去中心化和分布式的人工智能平台。 我代表Snapy ,它是面向消费者的即时对象检测和发现工具。

Note: I had published a book(In 2019) on GANs titled “Generative Adversarial Networks Projects”, in which I have covered most of the widely popular GAN architectures and their implementations. DCGAN, StackGAN, CycleGAN, Pix2pix, Age-cGAN, and 3D-GAN have been covered in details at the implementation level. Each architecture has a chapter dedicated to it. I have explained these networks in a very simple and descriptive language using Keras + Tensorflow(Backend). If you are working on GANs or planning to use GANs, give it a read and share your valuable feedback with me at ahikailash1@gmail.com

注意 :我曾在GAN上出版过一本书(2019年),标题为“ Generative Adversarial Networks Projects”,其中涵盖了大多数广受欢迎的GAN架构及其实现。 在实施级别已详细介绍了DCGAN,StackGAN,CycleGAN,Pix2pix,Age-cGAN和3D-GAN。 每个体系结构都有专门的章节。 我已经使用Keras + Tensorflow(Backend)用非常简单的描述性语言解释了这些网络。 如果您正在使用GAN或打算使用GAN,请阅读并通过 ahikailash1@gmail.com 与我分享您的宝贵反馈。

You can grab your copy from:

您可以从以下位置获取副本:

http://www.amazon.com/Generative-Adversarial-Networks-Projects-next-generation/dp/1789136679

http://www.amazon.com/Generative-Adversarial-Networks-Projects-next-generation/dp/1789136679

https://www.amazon.in/Generative-Adversarial-Networks-Projects-next-generation/dp/1789136679

https://www.amazon.in/Generative-Adversarial-Networks-Projects-next-generation/dp/1789136679

https://www.packtpub.com/big-data-and-business-intelligence/generative-adversarial-networks-projects

https://www.packtpub.com/big-data-and-business-intelligence/generative-adversarial-networks-projects

Gain Access to Expert View — Subscribe to DDI Intel

获得访问专家视图的权限- 订阅DDI Intel

翻译自: https://medium.com/datadriveninvestor/a-very-short-introduction-to-frechlet-inception-distance-fid-86c95deb0930

起始字节 和起始位


http://www.taodudu.cc/news/show-2843977.html

相关文章:

  • SpringCloud——服务接口(api)
  • 年终礼品交换潮iPhone、iPad最抢手
  • SQL2005导入数据至2000的问题
  • std::stable_sort 和 std::for_each 的用法!按结构中某一字段值大小排续!
  • std::stable_sort 和 std::for_each 的用法[转]
  • ntext字段的替换处理示例--全表替换
  • 转载自www.dezai.cn 常用sql统计
  • 常用的数据库统计SQL语句
  • 常用的数据库统计SQL语句(2)
  • stable_sort应用例子
  • 23日下午3时左右
  • 基于STM32的多功能MP3设计 毕业设计(论文)开题报告
  • 广东小学几年级有计算机课,广州小学开设网络班:小学生人手一台手提电脑
  • SpringCloud调用接口流程
  • 第三代测序成本偏高是什么原因导致的? 是看了这道题下面的邹捷萌回答:现在基因测序的瓶颈主要在哪里?精度?速度? 在精确度方面第三代测序已经很高了,但目前国内生物实验室的测序还是以二代为主,推测成本可能
  • mongodb查询后排序
  • 微信小程序 公众号 代码运行报“errcode“:43003,“errmsg“:“require https hints:}错误
  • 导入数据报错Packet for query is too large (20717492 4194304).
  • 微擎啦啦外卖跑腿商户上传产品图片失败错误代码43003问题解决方案
  • 微信公众平台支付接口代码
  • IPSec续
  • springboot进行微信公众号相关开发:(三)发送模板消息并设置通用回调消息接收接口
  • GreenPlum 大数据平台--安装
  • GreenPlum 大数据平台--运维(三)
  • 为Greenplum 增加mirror节点
  • 微信发送消息接口
  • 6、Lctech Pi(F1C200S)4.3寸(480*272)16位RGB565LCD屏驱动适配(CherryPi,Mangopi,F1C100S)
  • GreenPlum 大数据平台--segment 失效问题恢复
  • Greenplum 添加mirror步骤
  • greenplum 添加mirror

起始字节 和起始位_frechlet起始距离fid的简短介绍相关推荐

  1. 字节转换比特位c语言,C语言实现双字节在数组中按比特位移动

    先说一下应用场合,在LED点阵显示屏中,为了节省flash空间,常用一个bit位来标记哪个灯是否点亮.为了做出比较炫的效果,比如16 * 16像素gif动画边边移动边跳跃.就应用到该思想. 双字节是1 ...

  2. python中指定变量为1byte_Python读字节某一位的值,设置某一位的值,二进制位操作...

    Python读字节某一位的值,设置某一位的值,二进制位操作 ??在物联网实际应用项目开发中,为了提升性能,与设备端配合,往往最终使用的是二进制字节串方式进行的通信协议封装,更会把0和1.True和Fa ...

  3. Java字节转换为比特位及相关

    文章目录 字节转换为比特位字串 直接上代码: 测试: 说明: 字节(byte).比特位.整型(int) 原码.反码和补码 移位运算符 >> 有符号,右移 >>> 无符号, ...

  4. 字节的按位逆序 Reverse Bits

    源自某公司的一道试题,问题很简单: 输入一个字节(8 bits),将其按位反序. 也就是说如果输入字节的八个比特是"abcdefgh",要得到"hgfedcba" ...

  5. 1字节是多少位,汉字utf-8又占多少。

    "1位"表示为1bit"1个字节"表示为1Byte"1个字节"="8位" 即1Bytes=8bit因此"4个字 ...

  6. TB,GB,MB,KB,Byte字节,bit位 如何换算?

    学计算机必须掌握的东西 Byte字节,bit位 210 = 1024; 1TB = 1024GB:1GB = 1024MB:1MB = 1024KB:1KB = 1024B(字节):1Byte(B) ...

  7. 1bit和1byte_带宽单位是位(bit)网速单位是字节(Byte)1字节等于8位

    对于宽带用户来说,经常接触到"带宽"和"网速"的数据,大多数人感到比较模糊不清,明明自己的宽带是10M,为什么测速显示只有1M:明明是6M的宽带,但测速显示只有 ...

  8. 32位单片机 一个32位地址代表一个字节而不是4个字节(32位)

    在数据手册上,BSRR的偏移地址为0X18,然后手册讲完BSRR后直接讲LCKR了,并且LCKR的偏移地址是 OX1C .所以根据 OX1C-0X18=0X04 就知道BSRR是32位寄存器了.因为一 ...

  9. 字节(byte)、位(bit)、KB、B、字符之间关系以及编码占用位数

    位(bit)/bit/:是计算机 内部数据 储存的最小单位,11001100是一个八位二进制数. 字节(byte)/bait/:是计算机中 数据处理 的基本单位,习惯上用大写 B 来表示,1B(byt ...

最新文章

  1. 注释工具_好用的位点分级注释工具,VarSome插件
  2. java CAS原语
  3. ASP导出EXCEL乱码?试试这个
  4. mysql query cache优化
  5. DL之BigGAN:利用BigGAN算法实现超强炸天效果——画风的确skr、skr、skr,太特么的skr了
  6. 电脑任务管理器快捷键_电脑知识小常识
  7. Taro+react开发(88):大写px 控制样式
  8. python辗转相除法求最小公倍数_Python实现利用最大公约数求三个正整数的最小公倍数示例...
  9. 【翻译】在Ext JS 6通用应用程序中使用既共享又特定于视图的代码
  10. ubuntu系统颜色更改
  11. mesh组网是什么意思
  12. 电脑解锁后黑屏有鼠标_电脑开机后,显示屏黑屏只有鼠标箭头,怎么回事
  13. php判断是否节假日,php 排除周末与节假日程序实例代码
  14. Ceph 线程池与工作队列
  15. Codeforces Round #401 (Div. 2) D Cloud of Hashtags —— 串
  16. 在线考试系统设计时必须考虑的问题之三----------考试题库问题
  17. 喇叭音圈是大一点好还是小一点好
  18. 【并发】2、JMM三大特性与Volatile
  19. 光功率 博科交换机_希望查询7604,CE3000等交换机读取光口光功率的oid,以及电源状态的oid...
  20. 多元素运动框架-链式运动的封装

热门文章

  1. 无界——多元合作的发散思维
  2. python tkinter 桌面小程序开发从入门到界面美化(主题应用推荐)
  3. 超声波测距 c语言程序流程图,超声波测距程序(详细C语言数码管显示)
  4. 微服务--应对每秒上万并发下的参数优化实战(实战经验)
  5. 龙族幻想最新东京机器人位置_龙族幻想藤原智坐标位置一览 藤原智任务攻略...
  6. 安装和使用Linux花生壳(公网版)
  7. Modbus设备上云解决方案
  8. 全球AI四强大PK:微软“软”,百度“硬”,亚马逊“猛”,谷歌“横”
  9. Houdini学习 —— 使用VOP进行陨石坑效果制作
  10. 源于小程序智能名片的两点思考