Skip to main content

Installation

Requirements

  • Python 3.10 or higher
  • PyTorch, OpenCV

Installation Steps

PyTorch

Please refer to the PyTorch installation guide for instructions on installing PyTorch according to your system.

OpenCV

Please refer to the OpenCV installation guide to install opencv-python. In most cases, you can simply install by pip install opencv-python-headless

CogKit

Install cogkit from github source:

pip install "cogkit@git+https://github.com/THUDM/cogkit.git"

Verify installation

You can verify that cogkit is installed correctly by running:

cogkit --help