Sadjad Alikhani commited on
Commit
97890e3
·
verified ·
1 Parent(s): 7d365eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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,