Update app.py
Browse files
app.py
CHANGED
|
@@ -39,13 +39,15 @@ results_data = {
|
|
| 39 |
}
|
| 40 |
|
| 41 |
# Title of the research
|
| 42 |
-
st.title('
|
| 43 |
|
| 44 |
# Create two columns with specified widths
|
| 45 |
col1, col2 = st.columns([6, 4])
|
| 46 |
# Right section: Filters and Hyperparameters
|
| 47 |
with col2:
|
| 48 |
model = st.selectbox('Select model:', models)
|
|
|
|
|
|
|
| 49 |
if model in ['SSD300', 'SSD512']:
|
| 50 |
pruning = st.selectbox('Select pruning method:', pruning_methods)
|
| 51 |
hyperparameter_data = hyperparameters[model][pruning]
|
|
@@ -53,10 +55,13 @@ with col2:
|
|
| 53 |
dataset = st.selectbox('Select dataset:', datasets)
|
| 54 |
hyperparameter_data = hyperparameters[model][dataset]
|
| 55 |
|
| 56 |
-
|
| 57 |
st.subheader('Hyperparameters')
|
|
|
|
| 58 |
df_hyperparams = pd.DataFrame(hyperparameter_data, columns=['Model', 'kl factor', 'Pruning Epochs', 'Finetuning Epochs'])
|
| 59 |
st.markdown(df_hyperparams.style.hide(axis="index").to_html(), unsafe_allow_html=True)
|
|
|
|
|
|
|
| 60 |
|
| 61 |
# Left section: Results and Evolution Graphs
|
| 62 |
with col1:
|
|
|
|
| 39 |
}
|
| 40 |
|
| 41 |
# Title of the research
|
| 42 |
+
st.title('Variational Information bottleneck pruning for Object detection')
|
| 43 |
|
| 44 |
# Create two columns with specified widths
|
| 45 |
col1, col2 = st.columns([6, 4])
|
| 46 |
# Right section: Filters and Hyperparameters
|
| 47 |
with col2:
|
| 48 |
model = st.selectbox('Select model:', models)
|
| 49 |
+
|
| 50 |
+
st.markdown('<div class="fixed-col">', unsafe_allow_html=True)
|
| 51 |
if model in ['SSD300', 'SSD512']:
|
| 52 |
pruning = st.selectbox('Select pruning method:', pruning_methods)
|
| 53 |
hyperparameter_data = hyperparameters[model][pruning]
|
|
|
|
| 55 |
dataset = st.selectbox('Select dataset:', datasets)
|
| 56 |
hyperparameter_data = hyperparameters[model][dataset]
|
| 57 |
|
| 58 |
+
st.markdown('<div class="scroller">', unsafe_allow_html=True)
|
| 59 |
st.subheader('Hyperparameters')
|
| 60 |
+
st.markdown('<br>', unsafe_allow_html=True) # Add space between filter and hyperparameters
|
| 61 |
df_hyperparams = pd.DataFrame(hyperparameter_data, columns=['Model', 'kl factor', 'Pruning Epochs', 'Finetuning Epochs'])
|
| 62 |
st.markdown(df_hyperparams.style.hide(axis="index").to_html(), unsafe_allow_html=True)
|
| 63 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
| 64 |
+
st.markdown('</div>', unsafe_allow_html=True)
|
| 65 |
|
| 66 |
# Left section: Results and Evolution Graphs
|
| 67 |
with col1:
|