Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get different kodak dataset testing result using VTM #189

Closed
LHB116 opened this issue Dec 29, 2022 · 5 comments
Closed

get different kodak dataset testing result using VTM #189

LHB116 opened this issue Dec 29, 2022 · 5 comments

Comments

@LHB116
Copy link

LHB116 commented Dec 29, 2022

I am trying to test kodak dataset use VTM codec with the command: python -m compressai.utils.bench vtm ./kodim -b ./VVCSoftware_VTM-VTM-9.1/bin -c ./VVCSoftware_VTM-VTM-9.1/cfg/encoder_intra_vtm.cfg -q 12 17 22 27 32 37 42 47 -j 24 >vtm9.1_kodim.json. But get different result with compressai's. The bpp is almost the same, but psnr and msssim is worse then compressai's reult. Detailed result is attached. How can I get correct result?
vtm9.1_kodim.txt

@YodaEmbedding
Copy link
Contributor

Are you using the 768x512 sized Kodak dataset, like in CompressAI?

(There's also a full resolution 3072x2048 dataset, which gives different results.)

@LHB116
Copy link
Author

LHB116 commented Dec 30, 2022

Are you using the 768x512 sized Kodak dataset, like in CompressAI?

(There's also a full resolution 3072x2048 dataset, which gives different results.)

yes, I am using orginal 768x512 or 512x768 images in Kodak dataset. If I use the dataset to test bpg or other pretrained deep image codec, I can get same results with CompressAI. I use vtm9.1 for testing, is it the same as CompressAI?

@LHB116 LHB116 closed this as completed Jan 10, 2023
@wx-Tian
Copy link

wx-Tian commented Feb 20, 2023

I also encounted the same problem and the results are the same as you.How did you solve it?

@LHB116
Copy link
Author

LHB116 commented Feb 20, 2023

I also encounted the same problem and the results are the same as you.How did you solve it?

I didn't test with the script they provided latter. You can try convert png files into yuv format using ffmpeg, than bulid the VTM source code, use the executable file for coding and getting results.

@wx-Tian
Copy link

wx-Tian commented Feb 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants