wi-lab commited on
Commit
646150e
·
verified ·
1 Parent(s): 2247451

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -1
README.md CHANGED
@@ -251,7 +251,18 @@ By selecting either `cls_emb` or `channel_emb`, you leverage the pre-trained mod
251
 
252
  ---
253
 
254
- ### 10. **Explore the Interactive Demo**
 
 
 
 
 
 
 
 
 
 
 
255
 
256
  To experience **LWM** interactively, visit our demo hosted on Hugging Face Spaces:
257
 
 
251
 
252
  ---
253
 
254
+ ### 10. **Generate Labels if Necessary**
255
+ If your dataset requires labels, you can easily generate them using DeepMIMO data. Here's an example to create labels for either LoS/NLoS classification or beam prediction, depending on the scenario selected:You can generate labels for your dataset using the DeepMIMO data. Below is an example for generating labels for the LoS/NLoS classification and beam prediction tasks based on the dataset scenario you chose earlier:
256
+ ```python
257
+ from input_preprocess import create_labels
258
+ tasks = ['LoS/NLoS Prediction', 'Beam Prediction']
259
+ task = tasks[1] # Choose 0 for LoS/NLoS labels or 1 for beam prediction labels.
260
+ labels = create_labels(task, selected_scenario_names, n_beams=64)
261
+ ```
262
+
263
+ ---
264
+
265
+ ### 11. **Explore the Interactive Demo**
266
 
267
  To experience **LWM** interactively, visit our demo hosted on Hugging Face Spaces:
268