update batch size
Browse files
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 =
|
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.')
|