There are 2 repositories under intra-prediction topic.
Implementation of a subset of CBP of h.264 encoder
Context-adaptive neural network based prediction for image compression https://arxiv.org/abs/1807.06244
Image compression practice for Undergraduate