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

View file

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