Comments (4)
The problem solved or not
from simswap.
The problem solved or not
Nope, No one helped me :/
from simswap.
Hi Mega313:
I was getting the "ValueError" and you gave me an idea how to fix it. Here is what I did to fix the problem you are having. I got this from one or two posts here. I'm giving you the code sandwiched between existing lines separated by a space:
opt.use_mask = True ## new feature up-to-date
opt.Arc_path = './arcface_model/arcface_checkpoint.tar'
opt.isTrain = False
opt.crop_size = 224
crop_size = opt.crop_size
torch.nn.Module.dump_patches = True
model = create_model(opt)
model.eval()
if crop_size == 512:
opt.which_epoch = 550000
opt.name = '512'
mode = 'ffhq'
else:
mode = 'None'
app = Face_detect_crop(name='antelope', root='./insightface_func/models')
app.prepare(ctx_id= 0, det_thresh=0.6, det_size=(640,640),mode=mode)
with torch.no_grad():
pic_a = opt.pic_a_path
from simswap.
Where to post this code explain with inages
from simswap.
Related Issues (20)
- Why didn't you change your face? It's just a mask / 为什么没有换脸,只是蒙版遮罩 HOT 1
- Are you still working on SimSwap++? HOT 2
- Problem ValueError with SimSwap HOT 4
- Export result of multispecific simswap colab output is not swapping faces HOT 4
- NoneType error. HELP! HOT 1
- How was the arcface.tar generated?
- 512 vs 224 model HOT 1
- Can't get Simswap to work after upgrading PC HOT 7
- MultiScale Discriminator
- antelope.zip HOT 1
- fsmode, pix2pixhd model,ui model, projected model and pg_model folder ? HOT 1
- Error:test_video_swapsingle.py HOT 1
- Collab demo gives me "Deprecated alias error."
- Trying to install insightface==0.2.1 onnxruntime moviepy HOT 2
- Clone
- various issues on Colab HOT 1
- WARNING message after performing the swap
- AttributeError: module 'numpy' has no attribute 'float' HOT 1
- Demo on Replicate couldn't be used.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simswap.