StyleAvatar
Code of SIGGRAPH 2023 Conference paper: StyleAvatar: Real-time Photo-realistic Portrait Avatar from a Single Video
파일 탐색기
최종 버전 다운로드 (.zip)- pipeline.jpg
- results.jpg
- styleavatar.gif
- styleavatar_offline.gif
- teaser.jpg
- __init__.py
- fused_act.py
- fused_bias_act.cpp
- fused_bias_act_kernel.cu
- setup.py
- upfirdn2d.cpp
- upfirdn2d.py
- upfirdn2d_forward.py
- upfirdn2d_kernel.cu
- discriminator.py
- generator.py
- generator_for_onnx.py
- modules.py
- modules_for_discriminator.py
- modules_for_onnx.py
- put_model_here
- dataset.py
- distributed.py
- test.py
- torch2onnx.py
- torch_utils.py
- train.py
- mode0_test1.png
- mode0_test2.png
- mode0_test3.png
- mode2_test1.png
- mode2_test2.png
- mode2_test3.png
- mode1_test1.png
- mode1_test2.png
- mode1_test3.png
- mode3_test1.png
- mode3_test2.png
- mode3_test3.png
- __init__.py
- fused_act.py
- fused_bias_act.cpp
- fused_bias_act_kernel.cu
- setup.py
- upfirdn2d.cpp
- upfirdn2d.py
- upfirdn2d_forward.py
- upfirdn2d_kernel.cu
- discriminator.py
- generator.py
- generator_for_onnx.py
- modules.py
- modules_for_discriminator.py
- modules_for_onnx.py
- mode0_test1.png
- mode0_test2.png
- mode0_test3.png
- mode2_test1.png
- mode2_test2.png
- mode2_test3.png
- mode1_test1.png
- mode1_test2.png
- mode1_test3.png
- mode3_test1.png
- mode3_test2.png
- mode3_test3.png
- output_here
- put_model_here
- augmentation.py
- dataset.py
- distributed.py
- face_alignment.py
- generate_blur.py
- generate_mask.py
- generate_retouching.py
- test.py
- torch2onnx.py
- train.py
- train.sh
- LICENSE
- LICENSE-stylegan2-pytorch
- README.md
- styleavatar.yaml
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/LizhenWangT/StyleAvatar
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd StyleAvatar
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Python
쉬움 추천사전 준비물
CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 --master_port='1234' train.py --batch 3 --ckpt pretrained/xxxx.pt path-to-dataset
파이썬 스크립트(또는 모듈)를 실행합니다.
CUDA_VISIBLE_DEVICES=0,1 python -m torch.distributed.launch --nproc_per_node=2 --master_port='1234' train.py --batch 3 --mode 0 --ckpt pretrained/xxxx.pt --augment --augment_p 0.2 path-to-dataset
파이썬 스크립트(또는 모듈)를 실행합니다.
에러 메시지 없이 실행되고 터미널에 안내 문구가 출력되면 정상입니다.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
