use pydantic to manage decoder training configs + defaults and refactor training script

This commit is contained in:
Phil Wang
2022-05-22 14:27:40 -07:00
parent d49eca62fa
commit a1ef023193
7 changed files with 145 additions and 264 deletions

View File

@@ -10,7 +10,7 @@ setup(
'dream = dalle2_pytorch.cli:dream'
],
},
version = '0.3.9',
version = '0.4.0',
license='MIT',
description = 'DALL-E 2',
author = 'Phil Wang',
@@ -29,10 +29,10 @@ setup(
'einops>=0.4',
'einops-exts>=0.0.3',
'embedding-reader',
'jsonschema>=4.5.1',
'kornia>=0.5.4',
'numpy',
'pillow',
'pydantic',
'resize-right>=0.0.2',
'rotary-embedding-torch',
'torch>=1.10',