Sadjad Alikhani
commited on
Commit
•
f911ced
1
Parent(s):
6920787
Update input_preprocess.py
Browse files- input_preprocess.py +1 -1
input_preprocess.py
CHANGED
@@ -40,7 +40,7 @@ def tokenizer(deepmimo_data, scenario_idxs, gen_raw=True):
|
|
40 |
"""
|
41 |
|
42 |
# Patch generation or loading
|
43 |
-
deepmimo_data = deepmimo_data[scenario_idxs]
|
44 |
n_scenarios = len(deepmimo_data)
|
45 |
patches = [patch_maker(deepmimo_data[scenario_idx]) for scenario_idx in range(n_scenarios)]
|
46 |
patches = np.vstack(patches)
|
|
|
40 |
"""
|
41 |
|
42 |
# Patch generation or loading
|
43 |
+
deepmimo_data = [deepmimo_data[i] for i in scenario_idxs]
|
44 |
n_scenarios = len(deepmimo_data)
|
45 |
patches = [patch_maker(deepmimo_data[scenario_idx]) for scenario_idx in range(n_scenarios)]
|
46 |
patches = np.vstack(patches)
|