Comments (6)
Please follow the README. You need to download the checkpoints and extract them to ckpts
. Then, the possible values for MODEL_ID are given in the README. Let me know if this works for you.
from imgcomp-cvpr.
@fab-jul Sorry for the late reply, maybe some version is not the same in my environment, I will try again. Recently I have tried to use your ms_ssim.py to train my network, but the value of ms_ssim was quite high(about 0.99) even at the very begining as I trained the network was trained from scratch. The ms_ssim' value is not reasonable, while the mean square loss is quite low. I wonder have you ever tested the ms_ssim.py before, I did not change any thing to the ms_ssim.py. Need your help, thanks a lot.
from imgcomp-cvpr.
How did you try training, with which parameters?
We have thoroughly tested ms_ssim.py
before using it to train.
from imgcomp-cvpr.
Er, I found that in my situation the image's range value was set incorrectly, I noticed that there was a layer of tf.clip_by_value in your decoder network, so I adapted it in my network, and it worked.
Another problem appeared! I test an image with my trained model, and print the ms-ssim value as the way of training process, here I can get the ms-ssim value calculating in your way. After testing, I can get the reconstructed image, then I calculate the ms-ssim value with the original image using a python version ms-ssim , but these 2 values are different, e.g. the former one is 0.186 and the latter one is 0.255, so I'm very confused.
from imgcomp-cvpr.
Hard to say what the problem is. One thing you have to be careful about is the dtype
, it should be uint8
for these kind of comparisons. Also double check the ranges of the values.
from imgcomp-cvpr.
Okay, thanks for your reply, I will check.
from imgcomp-cvpr.
Related Issues (20)
- The size of your trained model HOT 2
- compressed images are large HOT 11
- why only mask the last channel? HOT 1
- plot HOT 6
- Testing monochromatic images on your code HOT 6
- about soft_quantize sigma parameter
- bpp comparison HOT 3
- test error HOT 2
- inference error HOT 4
- log_dir_root HOT 4
- training
- CodecDistance HOT 4
- python version
- train stop at"-STARTING TRAINING-------------" HOT 8
- inference using real_bpp HOT 2
- about soft and hard quantization HOT 2
- How to optimize with mse? HOT 1
- Question about 'distortion_to_minimize' HOT 3
- Download link/ pretrained models HOT 2
- which time we can get torch ?
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 imgcomp-cvpr.