Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract error: Extract() Takes 4 Positional Arguments but 5 were given #294

Closed
gessyoo opened this issue Mar 14, 2018 · 2 comments
Closed

Comments

@gessyoo
Copy link

gessyoo commented Mar 14, 2018

Note: Please only report bugs in this repository. Just because you are getting an error message does not automatically mean you have discovered a bug. If you don't have a lot of experience with this type of project, or if you need for setup help and other issues in using the faceswap tool, please refer to the faceswap-playground instead. The faceswap-playground is also an excellent place to ask questions and submit feedback.

Expected behavior

Extract faces from jpg images

Actual behavior

No images extracted, error message: Failed to extract from ***.jpg Reason: Extract() takes 4 positional arguments but 5 were given

Steps to reproduce: python facewap.py extract -A (dir) -B (dir) -D cnn

Describe, in some detail, the steps you tried that resulted in the behavior described above.
The extract process worked as expected with an earlier build.

Other relevant information

  • Command lined used (if not specified in steps to reproduce): faceswap.py ...
  • Operating system and version: Windows 10 x64
  • Python version: Anaconda 3.6.4
  • Faceswap version: commit hash or version number: Extract # 242
  • Faceswap method: GPU
  • Other related issues: GPU active (20%-30% load) during extract process, but no images are extracted. Prior versions of faceswap.py extract worked as expected. Dlib and OpenCV compiled to use CUDA (9.1).
  • ... (for example, installed packages that you can see with pip freeze)
@bryanlyon
Copy link
Contributor

This issue is missing critical information, please read the instructions and at the requested information. We can't help you without knowing what is happening.

@Clorr
Copy link
Contributor

Clorr commented Mar 14, 2018

There is a 5th argument added by #242 but it seems you're using an older version of scripts/extract.py

@Clorr Clorr closed this as completed Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants