pkl to safetensors

This commit is contained in:
Tran Xen
2023-07-30 00:55:17 +02:00
parent be02fdcd7d
commit 31635d369f
11 changed files with 94 additions and 44 deletions
+11
View File
@@ -8,3 +8,14 @@ def preload(parser: ArgumentParser) -> None:
choices=["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"],
help="Set the log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)",
)
print("FACESWAPLAB================================================================")
print("BREAKING CHANGE: enforce face checkpoint format from pkl to safetensors\n")
print("Using pkl files to store faces is dangerous from a security point of view.")
print("For the same reason that models are now stored in safetensors,")
print("We are switching to safetensors for the storage format.")
print(
"A script with instructions for converting existing pkl files can be found here:"
)
print("https://gist.github.com/glucauze/4a3c458541f2278ad801f6625e5b9d3d")
print("==========================================================================")