This commit is contained in:
Vladimir Mandic
2023-03-02 15:56:46 -05:00
parent f028ccda09
commit 21e354d9bc
5 changed files with 8 additions and 4 deletions
+1
View File
@@ -67,6 +67,7 @@ def get_memory():
class Map(dict):
__slots__ = ('__dict__')
def __init__(self, *args, **kwargs):
super(Map, self).__init__(*args, **kwargs)
for arg in args:
+2 -1
View File
@@ -42,7 +42,7 @@ options = Map({
"train_data_dir": "",
"shuffle_caption": False,
"caption_extension": ".txt",
"caption_extention": None,
"caption_extention": ".txt",
"keep_tokens": None,
"color_aug": False,
"flip_aug": False,
@@ -182,6 +182,7 @@ if __name__ == '__main__':
Path(dir).mkdir(parents=True, exist_ok=True)
json_file = os.path.join(tempfile.gettempdir(), args.output, args.output + '.json')
options.train_data_dir = os.path.join(tempfile.gettempdir(), args.output)
res = None
if args.dreambooth:
options.in_json = None
+3 -1
View File
@@ -1,8 +1,8 @@
accelerate
aenum
basicsr
blendmodes
bitsandbytes
blendmodes
clean-fid
colormap
diffusers
@@ -37,7 +37,9 @@ resize-right
safetensors
scikit-image
timm
toml
torch
torchdiffeq
torchsde
transformers
voluptuous
+1 -1
Submodule wiki updated: 5f5b72851d...4548297227