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-modelor
Install via npx
npx @hexmos/ipm i AliaksandrSiarohin/first-order-modelPrerequisites
Python 3
languageVersion: >3.6.0
pip
package_managerPackage installer for Python.
CUDA
system_toolVersion: 10.2.0
NVIDIA-Docker
system_toolTool 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_scalePython Script (CUDA)
CUDA_VISIBLE_DEVICES=0 python3 run.py --config config/dataset_name.yaml --mode reconstruction --checkpoint path/to/checkpointPost 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`
