InvokeAI/scripts/probe-model.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
197 B
Python
Raw Normal View History

2023-07-27 03:06:27 +00:00
#!/bin/env python
import sys
from pathlib import Path
from invokeai.backend.model_management.model_probe import ModelProbe
info = ModelProbe().probe(Path(sys.argv[1]))
print(info)