https://github.com/lucataco/cog-faceswap
Cog wrapper for faceswap with face enhancer
https://github.com/lucataco/cog-faceswap
cog
Last synced: about 1 year ago
JSON representation
Cog wrapper for faceswap with face enhancer
- Host: GitHub
- URL: https://github.com/lucataco/cog-faceswap
- Owner: lucataco
- Created: 2023-08-18T15:21:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-12T15:06:27.000Z (almost 3 years ago)
- Last Synced: 2025-04-03T02:35:10.492Z (over 1 year ago)
- Topics: cog
- Language: Python
- Homepage: https://replicate.com/lucataco/faceswap
- Size: 1.41 MB
- Stars: 14
- Watchers: 1
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# faceswap Cog model
This is semi-custom implementation of faceswap as a Cog model, based on the original code of [roop](https://github.com/s0md3v/roop). [Cog packages machine learning models as standard containers.](https://github.com/replicate/cog)
First, download the pre-trained weights:
cog build -t faceswap
Then, you can run predictions:
cog predict -i target_image=@tony.jpg -i swap_image=@elon.jpg
## Example Output
Example output for sample inputs:
