Spaces:
Running
Running
Update app.py
Browse files
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 = [
|
|
|
|
|
|
|
|
|
682 |
|
683 |
-
deepmimo_data =
|
684 |
-
cleaned_deepmimo_data =
|
685 |
|
686 |
-
channels = np.squeeze(np.array(cleaned_deepmimo_data
|
687 |
-
labels = label_gen('LoS/NLoS Classification', deepmimo_data
|
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 |
|