Comments (3)
I also have doubts about this. How to ensure that the CDF is an incremental function in encode? In the process of running forward on pytorch1.7, I found that the CDF function obtained from some images is not incremental, leading to wrong coding.
from l3c-pytorch.
- We encode with the CDF, and we encode channel per channel. The CDF and PDF are calculatable from each other, and in the paper we use the simpler notation (with p). The fact that we use a CDF for arithmetic coding is because it allows fast lookups of intervals (needed for arithmetic coding).
- CDF is the integrated p.
@KuaidiYuan The CDF obtained by the model is not always incremental, correct. That's why we have _renorm_cast_cdf_(cdf, precision)
. For some more details on this, see the torchac README. This should work on all images. Can you share the image that led to wrong encoding?
from l3c-pytorch.
@fab-jul
click
I put image and the weight of training here.
from l3c-pytorch.
Related Issues (20)
- AssertionError: Expected a base dir for every component, got ['0524_0001'] and ['configs/ms', 'configs/dl'] HOT 8
- The loss value remained around 5 HOT 4
- questions about the probability prediction part in the paper HOT 1
- Question about the computation of cdf in the code HOT 13
- torchac: how to find <EOM> to separate bytes strings (channels) ? HOT 1
- get errors when compress image HOT 2
- run train.py error HOT 7
- questions about AC code
- weird problem when encoding HOT 1
- Question about CDF function and AC code HOT 2
- Error while decompressing HOT 4
- AttributeError: module 'torchac.torchac' has no attribute 'CUDA_SUPPORTED' HOT 2
- Size of compressed file HOT 1
- Evaluation Sets
- How to modify this code to enable compression of 16Bit Images HOT 1
- Running time
- python .\setup.py install faill HOT 1
- Do not able to learn the latent representations
- question about header
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 l3c-pytorch.