We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 122d44b commit 820bae7Copy full SHA for 820bae7
superannotate/ml/defaults.py
@@ -1,7 +1,6 @@
1
DEFAULT_HYPERPARAMETERS = {
2
"instance_type": "1 x T4 16 GB",
3
"num_epochs": 12,
4
- "dataset_split_ratio": 80,
5
"base_lr": 0.02,
6
"gamma": 0.5,
7
"images_per_batch": 4,
superannotate/ml/ml_funcs.py
@@ -301,6 +301,8 @@ def run_training(
301
0,
302
f"The type of provided projects is {project_type}, and does not correspond to the type of provided model"
303
)
304
+ if not hyperparameters:
305
+ hyperparameters = {}
306
for item in DEFAULT_HYPERPARAMETERS:
307
if item not in hyperparameters:
308
hyperparameters[item] = DEFAULT_HYPERPARAMETERS[item]
0 commit comments