mirror of
https://github.com/HumanAIGC/lite-avatar.git
synced 2026-02-05 18:09:20 +08:00
Merge branch 'HumanAIGC:main' into feature/20250626-remove-lfs
This commit is contained in:
@@ -6,6 +6,8 @@ We introduce a audio2face model for realtime 2D chat avatar, which can run in 30
|
|||||||
- A lightweight 2D face generator model for mouth movement rendering, which can also be deployed on mobile devices realizing realtime inference.
|
- A lightweight 2D face generator model for mouth movement rendering, which can also be deployed on mobile devices realizing realtime inference.
|
||||||
## Data Preparation
|
## Data Preparation
|
||||||
Get sample avatar data located in `./data/sample_data.zip` and extract to you path
|
Get sample avatar data located in `./data/sample_data.zip` and extract to you path
|
||||||
|
|
||||||
|
🔥More avatars can be found at [LiteAvatarGallery](https://modelscope.cn/models/HumanAIGC-Engineering/LiteAvatarGallery/summary)
|
||||||
## Installation
|
## Installation
|
||||||
We recommend a python version = 3.10 and cuda version = 11.8. Then build environment as follows:
|
We recommend a python version = 3.10 and cuda version = 11.8. Then build environment as follows:
|
||||||
```shell
|
```shell
|
||||||
@@ -42,4 +44,4 @@ If you find this project useful, please ⭐️ star the repository and cite our
|
|||||||
pages = {5956--5959},
|
pages = {5956--5959},
|
||||||
year = {2022}
|
year = {2022}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -365,4 +365,4 @@ if __name__ == '__main__':
|
|||||||
lite_avatar = liteAvatar(data_dir=args.data_dir, num_threads=1, generate_offline=True)
|
lite_avatar = liteAvatar(data_dir=args.data_dir, num_threads=1, generate_offline=True)
|
||||||
|
|
||||||
lite_avatar.handle(audio_file, tmp_frame_dir)
|
lite_avatar.handle(audio_file, tmp_frame_dir)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user