Hack90 commited on
Commit
f422dcf
·
verified ·
1 Parent(s): 0d04e89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -1053,7 +1053,7 @@ with ui.navset_card_tab(id="tab"):
1053
  "loss_type_scale",
1054
  "Select Loss Type:",
1055
  ["compliment", "cross_entropy", "headless", "2d", "2d_representation_MSEPlusCE"],
1056
- multiple=False,
1057
  selected=["cross_entropy"]
1058
  )
1059
  def plot_loss_rates_model_scale(df, loss_type, model_types):
@@ -1093,13 +1093,13 @@ with ui.navset_card_tab(id="tab"):
1093
  return fig
1094
 
1095
 
1096
- import matplotlib as mpl
1097
  @render.plot()
1098
- def plot_model_scaling_big():
1099
  fig = None
1100
  df = pd.read_csv('training_data_5.csv')
1101
  mpl.rcParams.update(mpl.rcParamsDefault)
1102
- fig = plot_loss_rates_model_scale(df= df,loss_type= input.loss_type_scale(),model_types= input.model_type_scale())
1103
  return fig
1104
  # @output
1105
  # @render.plot
 
1053
  "loss_type_scale",
1054
  "Select Loss Type:",
1055
  ["compliment", "cross_entropy", "headless", "2d", "2d_representation_MSEPlusCE"],
1056
+ multiple=True,
1057
  selected=["cross_entropy"]
1058
  )
1059
  def plot_loss_rates_model_scale(df, loss_type, model_types):
 
1093
  return fig
1094
 
1095
 
1096
+ # import matplotlib as mpl
1097
  @render.plot()
1098
+ def plot_big_boy_model():
1099
  fig = None
1100
  df = pd.read_csv('training_data_5.csv')
1101
  mpl.rcParams.update(mpl.rcParamsDefault)
1102
+ fig = plot_loss_rates_model_scale(df,input.loss_type_scale(),input.model_type_scale())
1103
  return fig
1104
  # @output
1105
  # @render.plot