emmas96 commited on
Commit
ec4beac
·
1 Parent(s): 92ffdca

update batch size

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -111,7 +111,7 @@ def retrieval():
111
  with c2:
112
  st.image('figures/multi_molecules.png', use_column_width='always') #, width=125)
113
  with st.spinner('Loading data...'):
114
- batch_size = 64
115
  dataset = DrugRetrieval(os.path.join(data_path, selected_database), sequence, query_embedding)
116
  dataloader = DataLoader(dataset, num_workers=2, batch_size=batch_size, shuffle=False, collate_fn=collate_target)
117
  st.success('Data loaded.')
 
111
  with c2:
112
  st.image('figures/multi_molecules.png', use_column_width='always') #, width=125)
113
  with st.spinner('Loading data...'):
114
+ batch_size = 2048
115
  dataset = DrugRetrieval(os.path.join(data_path, selected_database), sequence, query_embedding)
116
  dataloader = DataLoader(dataset, num_workers=2, batch_size=batch_size, shuffle=False, collate_fn=collate_target)
117
  st.success('Data loaded.')