modified schema

This commit is contained in:
Jan 2021-12-09 16:00:21 +01:00
commit 0c10249bb2
2 changed files with 8 additions and 4 deletions

View file

@ -4,11 +4,16 @@
"definitions": {
"dfl_config": {
"type": "object",
"additionalProperties": false,
"additionalProperties": true,
"properties": {
"use_fp16": {
"type": "boolean"
},
"cpu_cap": {
"type": "integer",
"minimum": 1,
"maximum": 256
},
"morph_factor": {
"type": "number",
"minimum":0.0,
@ -205,6 +210,7 @@
}
},
"required": [
"cpu_cap",
"adabelief",
"ae_dims",
"autobackup_hour",
@ -232,12 +238,10 @@
"maximum_n_backups",
"models_opt_on_gpu",
"mouth_prio",
"pretrain",
"random_blur",
"random_color",
"random_downsample",
"random_dst_flip",
"random_hsv_power",
"random_jpeg",
"random_noise",
"random_src_flip",

View file

@ -31,7 +31,7 @@
"required": [
"batch_size",
"face_type",
"pretrain",
"pretrain"
],
"title": "dfl_config"
}