foreword
Document name: Joint Autoregressive and Hierarchical Priors for Learned Image Compression
This article is based on the library of CompressAI to reproduce
github address: compressAI
About compressAI related blog description: CompressAI: Image compression framework based on pytorch
After installing compressai, it is equivalent to introducing this underlying library our project
1. Create a project
After doing the pre-work required for compressAI here, I moved the few files I needed into my own project.
In fact, if you install compressai here, you don’t need to import the google files. I put them here just for your convenience.
2. Create a training command script
Because this document can actually directly call related commands to reproduce the experiment, so mainly enter the relevant commands and execute them step by step. For related script commands, please refer to the sh script to run commands
After successful creation: