hvoss-techfak commited on
Commit
afc20d4
·
verified ·
1 Parent(s): d80b409

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -21
app.py CHANGED
@@ -259,35 +259,16 @@ def get_script_args_info(exclude_args=None):
259
  {
260
  "name": "--learning_rate_warmup_fraction",
261
  "type": "slider",
262
- "default": 0.25,
263
  "min": 0.0,
264
  "max": 1.0,
265
  "step": 0.01,
266
  "help": "Fraction of iterations that the learning rate is increasing (warmup)",
267
  },
268
- # {
269
- # "name": "--init_tau",
270
- # "type": "number",
271
- # "default": 1.0,
272
- # "help": "Initial tau value for Gumbel-Softmax",
273
- # },
274
- # {
275
- # "name": "--final_tau",
276
- # "type": "number",
277
- # "default": 0.01,
278
- # "help": "Final tau value for Gumbel-Softmax",
279
- # },
280
- # {
281
- # "name": "--min_layers",
282
- # "type": "number",
283
- # "default": 0,
284
- # "precision": 0,
285
- # "help": "Minimum number of layers. Used for pruning.",
286
- # },
287
  {
288
  "name": "--early_stopping",
289
  "type": "number",
290
- "default": 1500,
291
  "precision": 0,
292
  "help": "Number of steps without improvement before stopping",
293
  },
@@ -314,6 +295,13 @@ def get_script_args_info(exclude_args=None):
314
  "precision": 0,
315
  "help": "Number of rounds to choose the starting height map from.",
316
  },
 
 
 
 
 
 
 
317
  ]
318
  return [arg for arg in all_args_info if arg["name"] not in exclude_args]
319
 
 
259
  {
260
  "name": "--learning_rate_warmup_fraction",
261
  "type": "slider",
262
+ "default": 0.01,
263
  "min": 0.0,
264
  "max": 1.0,
265
  "step": 0.01,
266
  "help": "Fraction of iterations that the learning rate is increasing (warmup)",
267
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
268
  {
269
  "name": "--early_stopping",
270
  "type": "number",
271
+ "default": 5000,
272
  "precision": 0,
273
  "help": "Number of steps without improvement before stopping",
274
  },
 
295
  "precision": 0,
296
  "help": "Number of rounds to choose the starting height map from.",
297
  },
298
+ {
299
+ "name": "--num_init_cluster_layers",
300
+ "type": "number",
301
+ "default": 35,
302
+ "precision": 0,
303
+ "help": "Number of layer clusters for the initialization.",
304
+ },
305
  ]
306
  return [arg for arg in all_args_info if arg["name"] not in exclude_args]
307