Update safetensors_converter.py
Browse files- safetensors_converter.py +0 -2
safetensors_converter.py
CHANGED
@@ -44,8 +44,6 @@ def main(path: str, half: bool = False, no_ema: bool = False):
|
|
44 |
to_convert = list(path_.glob("*.ckpt"))
|
45 |
|
46 |
for file in to_convert:
|
47 |
-
if file.with_suffix(".safetensors").exists():
|
48 |
-
continue
|
49 |
print(f"Converting... {file}")
|
50 |
convert(file, half, no_ema)
|
51 |
|
|
|
44 |
to_convert = list(path_.glob("*.ckpt"))
|
45 |
|
46 |
for file in to_convert:
|
|
|
|
|
47 |
print(f"Converting... {file}")
|
48 |
convert(file, half, no_ema)
|
49 |
|