Giter VIP home page Giter VIP logo

Comments (3)

mx54039q avatar mx54039q commented on July 20, 2024
  1. 第一个问题你能否再描述详细一些.
  2. 我们的方式是有损图像压缩. 原始图像的存储方式可能是无损的(比如PNG), 也可能是有损的 (比如JPG). 压缩体现的是和无损的原始数据相比的.

from entroformer.

Larissa-11 avatar Larissa-11 commented on July 20, 2024

模型
利用您训练好的三种预训练模型,lambad不同会有不同的码率,不同的码率在压缩图片的时候,得到的压缩文件不应该不一样大小吗? 我去压缩一张几百KB的照片,得到的压缩文件是1.2M,这样看来并没有起到压缩的作用。您说压缩体现的是和无损的原始数据相对比的,我不太明白这样的意义是啥? 在电脑中有一张几百KB的JPG格式的照片,用您的压缩模型对其进行压缩,压缩以后的得到的二进制文件是1.2M,反而占用电脑存储更大的空间了。

from entroformer.

mx54039q avatar mx54039q commented on July 20, 2024
  1. 你这里显示的是模型文件, 不同的预训练模型有同样大小的参数, 所以他们的模型文件大小是一样的.
  2. 首先你可能需要理解一下压缩率的含义 bpp (bits per pixel) = bits / pixels. 另外, JPG本身就是一种图像压缩算法, 你电脑中的JPG格式的照片是已经压缩后的文件, 你在一个已经被压缩的图片上再使用压缩算法, 是无法得到进一步的压缩效果的. 并且, 你不能仅仅看压缩率, 还需要看图像的恢复程度 (也就是distortion). 我建议你找一张无损格式的图像, 然后用我们的算法和JPG进行比较.

from entroformer.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.