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

FP16 inference #58

Open
Justin020718 opened this issue Jul 16, 2024 · 0 comments
Open

FP16 inference #58

Justin020718 opened this issue Jul 16, 2024 · 0 comments

Comments

@Justin020718
Copy link

Thank you for your great effort in building DCVC series models.

A few month earlier, I've achieved about 13 fps (DCVC-DC with fp16 precision, decoding only) in TensorRT with 2K videos, and for 720P videos, it can achieve 60fps (DCVC-DC with fp16 precision, decoding only). I've only checked quality of reconstructed I frame image, and it was just fine. When the precision goes down to 8 bit, the reconstructed image suffers from a huge quality loss.

I'm trying to do the same thing based on DCVC-FM models. Now you've implemented new "block_mc_kernel", can it work on 8 bit precision? What should I do to use your implementation in ONNX or TensorRT? My conversion work flow is pytorch->ONNX->TensorRT.

Also, I'm interested in doing some fine tunings based on DCVC-FM, could you please send me the training code? I can send you a tiny but robust rate control algorithm (based on DCVC-FM) in return. My email is [email protected].

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

1 participant