Views
No views yet
@INPROCEEDINGS{10620769,
author={Zhao, Zijian and Chen, Tingwei and Meng, Fanyi and Li, Hang and Li, Xiaoyang and Zhu, Guangxu},
booktitle={IEEE INFOCOM 2024 - IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS)},
title={Finding the Missing Data: A BERT-Inspired Approach Against Package Loss in Wireless Sensing},
year={2024},
volume={},
number={},
pages={1-6},
doi={10.1109/INFOCOMWKSHPS61880.2024.10620769}
}git clone https://huggingface.co/RS2002/CSI-BERT1import torch
2from model import CSI_BERT
3
4# Load the model
5model = CSI_BERT.from_pretrained("RS2002/CSI-BERT")
6
7# Example input
8csi = torch.rand((2, 100, 52))
9time_stamp = torch.rand((2, 100))
10attention_mask = torch.zeros((2, 100))
11
12# Forward pass
13y = model(csi, attention_mask, time_stamp)
14print(y.shape) # Output: [2, 100, 64]