From 4f3b6bf23f96d3ee3fda3c6b1fdcc030c0c4ed33 Mon Sep 17 00:00:00 2001 From: Naiyuan Liu Date: Tue, 17 Aug 2021 10:23:16 +0800 Subject: [PATCH] Install gpu version of onnx by default now Install gpu version of onnx by default now --- docs/guidance/preparation.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guidance/preparation.md b/docs/guidance/preparation.md index d4dd38f..b366149 100644 --- a/docs/guidance/preparation.md +++ b/docs/guidance/preparation.md @@ -10,6 +10,7 @@ conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=10 (option): pip install --ignore-installed imageio pip install insightface==0.2.1 onnxruntime-gpu==1.2.0 moviepy ``` +- ***We have now updated the prepare document. The main change is that the gpu version of onnx is now installed by default (previously the cpu version of onnx is installed by default). If you have configured the environment before, now use pip install onnxruntime-gpu==1.2.0,You can increase the computing speed.*** - We use the face detection and alignment methods from **[insightface](https://github.com/deepinsight/insightface)** for image preprocessing. Please download the relative files and unzip them to ./insightface_func/models from [this link](https://onedrive.live.com/?authkey=%21ADJ0aAOSsc90neY&cid=4A83B6B633B029CC&id=4A83B6B633B029CC%215837&parId=4A83B6B633B029CC%215834&action=locate). - We use the face parsing from **[face-parsing.PyTorch](https://github.com/zllrunning/face-parsing.PyTorch)** for image postprocessing. Please download the relative file and place it in ./parsing_model/checkpoint from [this link](https://drive.google.com/file/d/154JgKpzCPW82qINcVieuPH3fZ2e0P812/view). - The pytorch and cuda versions above are most recommanded. They may vary.