/SRNet

Primary LanguagePython

SRNet

A powerful structure to compress and reconstruct CSI. https://ieeexplore.ieee.org/document/9585309

Usage

Step1

We train and evaluate the model with PCM method proposed in our paper. Hence, before training or evalution, we have to convert the data from original csi matrix to the format introduced by PCM method.

The operation is written in matlab files and stored in "generate_pcm_data" folder. Before running matlab codes, you should modify the path for loading input data. And the original csi data is referred in https://github.com/sydney222/Python_CsiNet .

Noted that the above conversion can also be implemented in Python.

Step2

# Assuming the compression ratio is 4, the scenario is indoor, and the data path is ../data
python main.py --cr 4 --scenario indoor --data-root ../data

Evalution

The performance of P-SRNet under different compression ratio and scenario.
Download checkpoint files from the "checkpoints" folder or from google drive https://drive.google.com/drive/folders/1jkAaRtKjffhCkyajUI7F42xL-AzoAkp-?usp=sharing

CR scenario NMSE(dB) trained model
4 indoor -24.23 indoor cr4
outdoor -15.43 outdoor cr4
8 indoor -19.26 indoor cr8
outdoor -13.47 outdoor cr8
16 indoor -15.26 indoor cr16
outdoor -11.31 outdoor cr16
32 indoor -11.61 indoor cr32
outdoor -9.17 outdoor cr32
64 indoor -8.27 indoor cr64
outdoor -7.80 outdoor cr64