Instructions to use mengtingwei/magicface with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mengtingwei/magicface with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mengtingwei/magicface", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
mengting commited on
Commit Β·
9d81eee
1
Parent(s): c7271bb
update
Browse files- weights/79999_iter.pth β 79999_iter.pth +0 -0
- {weights/checkpoints β checkpoints}/net_seg_res18.pth +0 -0
- {weights/checkpoints β checkpoints}/third_party/BFM_model_front.mat +0 -0
- {weights/checkpoints β checkpoints}/third_party/d3dfr_res50_nofc.pth +0 -0
- {weights/third_party β third_party}/__pycache__/model_resnet_d3dfr.cpython-38.pyc +0 -0
- {weights/third_party β third_party}/d3dfr/__pycache__/bfm.cpython-38.pyc +0 -0
- {weights/third_party β third_party}/d3dfr/bfm.py +0 -0
- {weights/third_party β third_party}/d3dfr_res50_nofc.pth +0 -0
- {weights/third_party β third_party}/insightface_backbone_conv.py +0 -0
- {weights/third_party β third_party}/model_parsing.py +0 -0
- {weights/third_party β third_party}/model_resnet_d3dfr.py +0 -0
- {weights/third_party_files β third_party_files}/79999_iter.pth +0 -0
- {weights/third_party_files β third_party_files}/BFM_model_front.mat +0 -0
- {weights/third_party_files β third_party_files}/d3dfr_res50_nofc.pth +0 -0
- {weights/third_party_files β third_party_files}/insightface_glint360k.pth +0 -0
- {weights/third_party_files β third_party_files}/models/antelopev2/1k3d68.onnx +0 -0
- {weights/third_party_files β third_party_files}/models/antelopev2/2d106det.onnx +0 -0
- {weights/third_party_files β third_party_files}/models/antelopev2/antelopev2.zip +0 -0
- {weights/third_party_files β third_party_files}/models/antelopev2/genderage.onnx +0 -0
- {weights/third_party_files β third_party_files}/models/antelopev2/glintr100.onnx +0 -0
- {weights/third_party_files β third_party_files}/models/antelopev2/scrfd_10g_bnkps.onnx +0 -0
- {weights/third_party_files β third_party_files}/resnet18-5c106cde.pth +0 -0
weights/79999_iter.pth β 79999_iter.pth
RENAMED
|
File without changes
|
{weights/checkpoints β checkpoints}/net_seg_res18.pth
RENAMED
|
File without changes
|
{weights/checkpoints β checkpoints}/third_party/BFM_model_front.mat
RENAMED
|
File without changes
|
{weights/checkpoints β checkpoints}/third_party/d3dfr_res50_nofc.pth
RENAMED
|
File without changes
|
{weights/third_party β third_party}/__pycache__/model_resnet_d3dfr.cpython-38.pyc
RENAMED
|
File without changes
|
{weights/third_party β third_party}/d3dfr/__pycache__/bfm.cpython-38.pyc
RENAMED
|
File without changes
|
{weights/third_party β third_party}/d3dfr/bfm.py
RENAMED
|
File without changes
|
{weights/third_party β third_party}/d3dfr_res50_nofc.pth
RENAMED
|
File without changes
|
{weights/third_party β third_party}/insightface_backbone_conv.py
RENAMED
|
File without changes
|
{weights/third_party β third_party}/model_parsing.py
RENAMED
|
File without changes
|
{weights/third_party β third_party}/model_resnet_d3dfr.py
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/79999_iter.pth
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/BFM_model_front.mat
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/d3dfr_res50_nofc.pth
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/insightface_glint360k.pth
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/models/antelopev2/1k3d68.onnx
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/models/antelopev2/2d106det.onnx
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/models/antelopev2/antelopev2.zip
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/models/antelopev2/genderage.onnx
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/models/antelopev2/glintr100.onnx
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/models/antelopev2/scrfd_10g_bnkps.onnx
RENAMED
|
File without changes
|
{weights/third_party_files β third_party_files}/resnet18-5c106cde.pth
RENAMED
|
File without changes
|