mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-08-19 04:59:27 -07:00
Minor update
- Updated requirements - Little refactoring in models/ModelBase.py
This commit is contained in:
parent
5c5d9af588
commit
d7c5e7e9f1
3 changed files with 3 additions and 3 deletions
|
@ -494,14 +494,12 @@ class ModelBase(object):
|
|||
|
||||
try:
|
||||
with open(fun(), 'r') as file, open(models.get_config_schema_path(), 'r') as schema:
|
||||
|
||||
|
||||
data = yaml.safe_load(file)
|
||||
validate(data, yaml.safe_load(schema))
|
||||
except FileNotFoundError:
|
||||
return {}
|
||||
except ValidationError as ve:
|
||||
io.log_err("%s"%ve)
|
||||
io.log_err(f"{ve}")
|
||||
return None
|
||||
|
||||
for key, value in data.items():
|
||||
|
|
|
@ -11,3 +11,4 @@ tensorflow-gpu==2.4.0
|
|||
tf2onnx==1.9.3
|
||||
tensorboardX
|
||||
crc32c
|
||||
jsonschema
|
||||
|
|
|
@ -14,3 +14,4 @@ Flask==1.1.1
|
|||
flask-socketio==4.2.1
|
||||
tensorboardX
|
||||
crc32c
|
||||
jsonschema
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue