added a vp9 cpmverter script that handles alpha channel too

This commit is contained in:
2026-09-29 20:45:06 -07:00
parent 1437a13f21
commit 810ff8f603
7 changed files with 66 additions and 5 deletions
+9
View File
@@ -0,0 +1,9 @@
import json
import struct
with open("/yorchnet-guindos/ai/models/Lora/drawix8.safetensors", "rb") as f:
length_of_header = struct.unpack('<Q', f.read(8))[0]
header_data = f.read(length_of_header)
header = json.loads(header_data)
print(header) # should be a dict that contains what you need