Spaces:
Running
Running
Sadjad Alikhani
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -221,7 +221,7 @@ def process_hdf5_file(uploaded_file, percentage_idx):
|
|
221 |
print(f"Output Raw Shape: {output_raw.shape}")
|
222 |
|
223 |
print(f'percentage_idx: {percentage_idx}')
|
224 |
-
print(f'percentage_value: {percentage_values[percentage_idx]*10}')
|
225 |
train_data_emb, test_data_emb, train_data_raw, test_data_raw, train_labels, test_labels = identical_train_test_split(output_emb.view(len(output_emb),-1),
|
226 |
output_raw.view(len(output_raw),-1),
|
227 |
labels,
|
|
|
221 |
print(f"Output Raw Shape: {output_raw.shape}")
|
222 |
|
223 |
print(f'percentage_idx: {percentage_idx}')
|
224 |
+
print(f'percentage_value: {percentage_values[percentage_idx-1]*10}')
|
225 |
train_data_emb, test_data_emb, train_data_raw, test_data_raw, train_labels, test_labels = identical_train_test_split(output_emb.view(len(output_emb),-1),
|
226 |
output_raw.view(len(output_raw),-1),
|
227 |
labels,
|