Comments (3)
- 第一个问题你能否再描述详细一些.
- 我们的方式是有损图像压缩. 原始图像的存储方式可能是无损的(比如PNG), 也可能是有损的 (比如JPG). 压缩体现的是和无损的原始数据相比的.
from entroformer.
利用您训练好的三种预训练模型,lambad不同会有不同的码率,不同的码率在压缩图片的时候,得到的压缩文件不应该不一样大小吗? 我去压缩一张几百KB的照片,得到的压缩文件是1.2M,这样看来并没有起到压缩的作用。您说压缩体现的是和无损的原始数据相对比的,我不太明白这样的意义是啥? 在电脑中有一张几百KB的JPG格式的照片,用您的压缩模型对其进行压缩,压缩以后的得到的二进制文件是1.2M,反而占用电脑存储更大的空间了。
from entroformer.
- 你这里显示的是模型文件, 不同的预训练模型有同样大小的参数, 所以他们的模型文件大小是一样的.
- 首先你可能需要理解一下压缩率的含义 bpp (bits per pixel) = bits / pixels. 另外, JPG本身就是一种图像压缩算法, 你电脑中的JPG格式的照片是已经压缩后的文件, 你在一个已经被压缩的图片上再使用压缩算法, 是无法得到进一步的压缩效果的. 并且, 你不能仅仅看压缩率, 还需要看图像的恢复程度 (也就是distortion). 我建议你找一张无损格式的图像, 然后用我们的算法和JPG进行比较.
from entroformer.
Related Issues (18)
- When will the code be revealed? HOT 2
- Decompressed HOT 4
- torchac 中的BitInputStream类 HOT 3
- 关于parallel模型的RD数据 HOT 1
- 关于bpp的计算
- 关于bpp的计算 HOT 2
- 请问您在编码部分,为什么要将图像乘2再减1呢 HOT 4
- Inquiry: Extending Model Capability for High Resolution Image Compression HOT 2
- 运行demo时出现valueerror
- I can't wait to see the code!friends, hurry up! HOT 1
- About prob_model and training HOT 6
- About pretrain and finetune HOT 5
- The RD points on Kodak HOT 4
- Compressed binary file size HOT 7
- Kodak dataset 在低码率上就达到很高的psnr HOT 4
- Checkpoint for psnr = 37.72 HOT 3
- 训练集的获取与图片选择 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from entroformer.