logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt
How to install AliaksandrSiarohin/first-order-model. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.

AliaksandrSiarohin/first-order-model Installation Guide

How to install AliaksandrSiarohin/first-order-model. Official project installation instructions and setup guide.

Automated Install (Recommended)

Quick installation instructions for AliaksandrSiarohin/first-order-model. This is the fastest way to complete project installation and setup.

Install via curl

curl -fsSL https://hexmos.com/ipm-install | bash && 
ipm i AliaksandrSiarohin/first-order-model
or

Install via npx

npx @hexmos/ipm i AliaksandrSiarohin/first-order-model

Prerequisites

Python 3

language

Version: >3.6.0

pip

package_manager

Package installer for Python.

CUDA

system_tool

Version: 10.2.0

NVIDIA-Docker

system_tool

Tool for running Docker containers on NVIDIA GPUs.

Manual Installation Methods

Manual installation instructions. How to install from GitHub source.

Python Package Manager

pip install -r requirements.txt

python3 demo.py --config config/dataset_name.yaml --driving_video path/to/driving --source_image path/to/source --checkpoint path/to/checkpoint --relative --adapt_scale

Python Script (CUDA)

CUDA_VISIBLE_DEVICES=0 python3 run.py --config config/dataset_name.yaml --mode reconstruction --checkpoint path/to/checkpoint

Post Installation Steps

  • Open the demo in your browser: https://huggingface.co/spaces/abhishek/first-order-motion-model
  • Run the following command to start the server: `python3 demo.py --config config/dataset_name.yaml --driving_video path/to/driving --source_image path/to/source --checkpoint path/to/checkpoint --relative --adapt_scale`
  • To run a demo, download checkpoint and run the following command: `python demo.py --config config/dataset_name.yaml --driving_video path/to/driving --source_image path/to/source --checkpoint path/to/checkpoint --relative --adapt_scale`