working auto encoders
This commit is contained in:
+2
-2
@@ -54,7 +54,7 @@ from custom_utils.custom_utils import nest_conditions, batch_to_dict
|
||||
|
||||
|
||||
class StaticDataset():
|
||||
def __init__(self, folder, signature, use_filled=True, resolutions=[512]) -> None:
|
||||
def __init__(self, folder, signature, use_filled=False, resolutions=[512]) -> None:
|
||||
self.store = dict()
|
||||
self.signature = signature
|
||||
self.folder = folder
|
||||
@@ -139,7 +139,7 @@ class DatasetFactory():
|
||||
return tf_signature
|
||||
|
||||
|
||||
def get_dataset(self, folder, batch_size, signature, shuffle=True, use_filled=True, resolutions=[512]):
|
||||
def get_dataset(self, folder, batch_size, signature, shuffle=True, use_filled=False, resolutions=[512]):
|
||||
# assert (use_filled and len(resolutions) >= 1) or (not use_filled and len(resolutions) == 1)
|
||||
assert set(resolutions).issubset(set([32, 128, 512]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user