wi-lab commited on
Commit
4e27300
·
verified ·
1 Parent(s): 5fa65e8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -690,7 +690,9 @@ with gr.Blocks(css="""
690
  labels = label_gen('LoS/NLoS Classification', deepmimo_data, scenario_name) # Generates labels for each user, classifying them as Line-of-Sight (LoS) or Non-Line-of-Sight (NLoS), and prepares the "labels" array for inclusion in the custom dataset H5 file.
691
  ```
692
  """)
693
- gr.Image("images/lwm.PNG", label="LWM Model and Framework")
 
 
694
  # Launch the app
695
  if __name__ == "__main__":
696
  demo.launch()
 
690
  labels = label_gen('LoS/NLoS Classification', deepmimo_data, scenario_name) # Generates labels for each user, classifying them as Line-of-Sight (LoS) or Non-Line-of-Sight (NLoS), and prepares the "labels" array for inclusion in the custom dataset H5 file.
691
  ```
692
  """)
693
+ with gr.Tab("LWM Model and Framework"):
694
+ gr.Image("images/lwm.PNG")
695
+ gr.Markdown("This figure depicts the offline pre-training and online embedding generation process for LWM. The channel is divided into fixed-size patches, which are linearly embedded and combined with positional encodings before being passed through a Transformer encoder. During self-supervised pre-training, some embeddings are masked, and LWM leverages self-attention to extract deep features, allowing the decoder to reconstruct the masked values. For downstream tasks, the generated LWM embeddings enhance performance. The right block shows the LWM architecture, inspired by the original Transformer introduced in the <b>Attention is all you need<b> paper.")
696
  # Launch the app
697
  if __name__ == "__main__":
698
  demo.launch()