easymode / write_md.py
mgflast's picture
Upload 34 files
92e7d72 verified
raw
history blame
213 Bytes
import json
import glob
models = glob.glob("*.h5")
for m in models:
metadata = {'apix': 10.0, 'timestamp': '20251124113500'}
with open(m.replace(".h5", ".json"), 'w') as f:
json.dump(metadata, f, indent=2)