Spaces:
Running
Running
fix(data): type
Browse files- dalle_mini/data.py +1 -1
dalle_mini/data.py
CHANGED
@@ -33,7 +33,7 @@ class Dataset:
|
|
33 |
multi_hosts: bool = field(init=False)
|
34 |
|
35 |
def __post_init__(self):
|
36 |
-
self.multi_hosts = jax.process_count > 1
|
37 |
# define data_files
|
38 |
if self.train_file is not None or self.validation_file is not None:
|
39 |
# accept braceexpand notation
|
|
|
33 |
multi_hosts: bool = field(init=False)
|
34 |
|
35 |
def __post_init__(self):
|
36 |
+
self.multi_hosts = jax.process_count() > 1
|
37 |
# define data_files
|
38 |
if self.train_file is not None or self.validation_file is not None:
|
39 |
# accept braceexpand notation
|