Comments (13)
@nerdprogrammergm I successfully used floydhub, I made a post about it https://www.reddit.com/r/deepfakes/comments/7mgpki/floydhub_cloud_training/
from faceswap.
use python3.6 instead of python3?
from faceswap.
Make sure you are running python 3.6 or otherwise try adding pathlib
through pip:
pip install --upgrade pathlib
from faceswap.
Otherwise, try running the script in a virtualenv as described in the guide.
from faceswap.
Thanks for quick reply.
I figured out the issue and now working on further part.
Presently I am getting this error:
Using TensorFlow backend.
usage: faceswap.py [-h] {extract,train,convert} ...
faceswap.py: error: invalid choice: 'extract/trump' (choose from 'extract', 'train', 'convert')
I have extracted the faces in extract/trump and extract/cage,
using this command to train the model: python3.6 faceswap.py -A extract/trump -B extract/cage -m models -p
What wrong am I doing?
from faceswap.
Most likely you are trying to start the script with invalid arguments. You have to specify 'extract', 'train' or 'convert' right after faceswap.py
from faceswap.
I am following the instructions mentioned on this lnk:https://github.com/deepfakes/faceswap/blob/master/USAGE.md
which says to execute the following command to train the model!
python3.6 faceswap.py -A ~/faceswap/data/trump -B ~/faceswap/data/cage -m ~/faceswap/models/
from faceswap.
Looks like it's a typo in the doc. Use python faceswap.py train -A ~/faceswap/data/trump -B ~/faceswap/data/cage -m ~/faceswap/models/
instead.
from faceswap.
Got the issue, its the "train" missed out from the command!
This command should be used to train the model: python3.6 faceswap.py train -A extract/trump -B extract/cage -m models -p
@lukaville @yangchen8710 @Ganonmaster
from faceswap.
Yes, thanks man. Have you tried to setup this on aws ec2 p2 instance?
Overthere, I am dealing with the issue for cuda9, got to wait until tensorflow support cuda9.
For cuda8, I tried but somewhere dlib through error about lib related to 9.so . Try to troubleshoot it but found that its tensorflow which is not compatible with cuda9 yet :/
You got any solution for this?
from faceswap.
There is also a typo in the doc for converting:
Using TensorFlow backend.
usage: faceswap.py [-h] {extract,train,convert} ...
faceswap.py: error: invalid choice: 'data/trump' (choose from 'extract', 'train', 'convert')
Proper command to convert is: python3.6 faceswap.py convert -i data/trump -o output/trump -m models
Sorry for tagging ya all, m noob at using github too!
from faceswap.
Cool @lukaville , great job.
Will give it a try ;)
In the mean time can you have a look on this link and help me out?
deepfakes/faceswap-playground#10
Thanks once again.
from faceswap.
The doc changes have been merged. I'll look at your other issue shortly. 👍
from faceswap.
Related Issues (20)
- あ
- GUI crash when running on Apple Silicon macbook HOT 5
- Is my PC good for face swapping? HOT 1
- [Question] How isolated is the installer HOT 2
- Images found: 439 Faces detected: 0 HOT 1
- TypeError: unsupported operand type(s) for |: 'type' and 'type' HOT 8
- install error HOT 1
- Offline Installer? HOT 1
- windows installer: wrong pillow version installed HOT 2
- -LF option doesn't get carried to the internal tools HOT 1
- L
- inpaint error HOT 1
- just installed new graphic card and it stopped working HOT 1
- exception after few hours of training with villain HOT 2
- Error with tensorflow. HOT 1
- License for commercial use HOT 1
- bash ./faceswap_setup_x64.sh
- ModuleNotFoundError: No module named 'pyparsing' HOT 3
- B
- GUI工具图片转视频,effmpeg %0d.png错误
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 faceswap.