Spaces:
Runtime error
Runtime error
yuvalalaluf
commited on
Commit
Β·
220175e
1
Parent(s):
daafd88
Update config.py
Browse files
config.py
CHANGED
@@ -47,7 +47,6 @@ class RunConfig:
|
|
47 |
|
48 |
def __post_init__(self):
|
49 |
self.output_path = self.output_path / self.domain_name
|
50 |
-
self.output_path.mkdir(parents=True, exist_ok=True)
|
51 |
|
52 |
# Handle the domain name, prompt, and object nouns used for masking, etc.
|
53 |
if self.use_masked_adain and self.domain_name is None:
|
@@ -61,6 +60,5 @@ class RunConfig:
|
|
61 |
|
62 |
# Define the paths to store the inverted latents to
|
63 |
self.latents_path = Path(self.output_path) / "latents"
|
64 |
-
self.latents_path.mkdir(parents=True, exist_ok=True)
|
65 |
self.app_latent_save_path = self.latents_path / f"{self.app_image_path.stem}.pt"
|
66 |
self.struct_latent_save_path = self.latents_path / f"{self.struct_image_path.stem}.pt"
|
|
|
47 |
|
48 |
def __post_init__(self):
|
49 |
self.output_path = self.output_path / self.domain_name
|
|
|
50 |
|
51 |
# Handle the domain name, prompt, and object nouns used for masking, etc.
|
52 |
if self.use_masked_adain and self.domain_name is None:
|
|
|
60 |
|
61 |
# Define the paths to store the inverted latents to
|
62 |
self.latents_path = Path(self.output_path) / "latents"
|
|
|
63 |
self.app_latent_save_path = self.latents_path / f"{self.app_image_path.stem}.pt"
|
64 |
self.struct_latent_save_path = self.latents_path / f"{self.struct_image_path.stem}.pt"
|