Code for Paper "Learn to Compress CSI and Allocate Resources in Vehicular Networks" For better understanding, the main environment for deep learning is: (1) Keras 2.2.4; (2) TensorFlow 1.12.0 The related paper is available online. https://ieeexplore.ieee.org/document/9026965