wi-lab commited on
Commit
6054491
·
verified ·
1 Parent(s): 82dba6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -5
app.py CHANGED
@@ -678,13 +678,17 @@ with gr.Blocks(css="""
678
  # To use your preferred DeepMIMO scenarios for the custom dataset, please [clone the model](https://huggingface.co/wi-lab/lwm) and follow the instructions below:
679
  from input_preprocess import DeepMIMO_data_gen deepmimo_data_cleaning label_gen
680
 
681
- scenario_names = ['city_19_oklahoma']
 
 
 
 
682
 
683
- deepmimo_data = [DeepMIMO_data_gen(scenario_name) for scenario_name in scenario_names]
684
- cleaned_deepmimo_data = [deepmimo_data_cleaning(deepmimo_data[scenario_idx]) for scenario_idx in range(len(scenario_names))]
685
 
686
- channels = np.squeeze(np.array(cleaned_deepmimo_data[0]), axis=1)
687
- labels = label_gen('LoS/NLoS Classification', deepmimo_data[0], scenario_names, n_beams=64)
688
  ```
689
  """)
690
 
 
678
  # To use your preferred DeepMIMO scenarios for the custom dataset, please [clone the model](https://huggingface.co/wi-lab/lwm) and follow the instructions below:
679
  from input_preprocess import DeepMIMO_data_gen deepmimo_data_cleaning label_gen
680
 
681
+ scenario_names = np.array([
682
+ "city_18_denver", "city_15_indianapolis", "city_19_oklahoma",
683
+ "city_12_fortworth", "city_11_santaclara", "city_7_sandiego"
684
+ ])
685
+ scenario_name = scenario_names[0]
686
 
687
+ deepmimo_data = DeepMIMO_data_gen(scenario_name)
688
+ cleaned_deepmimo_data = deepmimo_data_cleaning(deepmimo_data)
689
 
690
+ channels = np.squeeze(np.array(cleaned_deepmimo_data), axis=1)
691
+ labels = label_gen('LoS/NLoS Classification', deepmimo_data, scenario_name)
692
  ```
693
  """)
694