-
-
Notifications
You must be signed in to change notification settings - Fork 13k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* requirements.txt: - Pin opencv to 4.1.1 (fixes cv2-dnn error) * lib.face_detect.DetectedFace: change LandmarksXY to landmarks_xy. Add left, right, top, bottom attributes * lib.model.session: Session manager for loading models into different graphs (for Nvidia + CPU) * plugins.extract._base: New parent class for all extract plugins * plugins.extract.pipeline. Remove MultiProcessing. Dynamically limit batchsize for Nvidia cards. Remove loglevel input * S3FD + FAN plugins. Standardise to Keras version for all backends * Standardize all extract plugins to new threaded codebase * Documentation. Start implementing Numpy style docstrings for Sphinx Documentation * Remove s3fd_amd. Change convert OTF to expect DetectedFace object * faces_detect - clean up and documentation * Remove PoolProcess * Migrate manual tool to new extract workflow * Remove AMD specific extractor code from cli and plugins * Sort tool to new extract workflow * Remove multiprocessing from project * Remove multiprocessing queues from QueueManager * Remove multiprocessing support from logger * Move face_filter to new extraction pipeline * Alignments landmarksXY > landmarks_xy and legacy handling * Intercept get_backend for sphinx doc build # Add Sphinx documentation
- Loading branch information
Showing
51 changed files
with
3,058 additions
and
3,268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Configuration file for the Sphinx documentation builder. | ||
# | ||
# This file only contains a selection of the most common options. For a full | ||
# list see the documentation: | ||
# https://www.sphinx-doc.org/en/master/usage/configuration.html | ||
|
||
# -- Path setup -------------------------------------------------------------- | ||
|
||
# If extensions (or modules to document with autodoc) are in another directory, | ||
# add these directories to sys.path here. If the directory is relative to the | ||
# documentation root, use os.path.abspath to make it absolute, like shown here. | ||
# | ||
import os | ||
import sys | ||
sys.path.insert(0, os.path.abspath('../')) | ||
sys.setrecursionlimit(1500) | ||
|
||
# -- Project information ----------------------------------------------------- | ||
|
||
project = 'faceswap' | ||
copyright = '2019, faceswap.dev' | ||
author = 'faceswap.dev' | ||
|
||
# The full version, including alpha/beta/rc tags | ||
release = '0.99' | ||
|
||
|
||
# -- General configuration --------------------------------------------------- | ||
|
||
# Add any Sphinx extension module names here, as strings. They can be | ||
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | ||
# ones. | ||
extensions = ['sphinx.ext.napoleon', ] | ||
|
||
# Add any paths that contain templates here, relative to this directory. | ||
templates_path = ['_templates'] | ||
|
||
# List of patterns, relative to source directory, that match files and | ||
# directories to ignore when looking for source files. | ||
# This pattern also affects html_static_path and html_extra_path. | ||
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] | ||
|
||
|
||
# -- Options for HTML output ------------------------------------------------- | ||
|
||
# The theme to use for HTML and HTML Help pages. See the documentation for | ||
# a list of builtin themes. | ||
# | ||
html_theme = 'sphinx_rtd_theme' | ||
|
||
# Add any paths that contain custom static files (such as style sheets) here, | ||
# relative to this directory. They are copied after the builtin static files, | ||
# so a file named "default.css" will overwrite the builtin "default.css". | ||
html_static_path = ['_static'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
lib.faces\_detect module | ||
======================== | ||
|
||
.. automodule:: lib.faces_detect | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
lib.model package | ||
================= | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
lib.model.session | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: lib.model | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
lib.model.session module | ||
======================== | ||
|
||
.. automodule:: lib.model.session | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
lib package | ||
=========== | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
|
||
lib.model | ||
lib.faces_detect | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: lib | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
faceswap | ||
======== | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
lib | ||
plugins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins.extract._base module | ||
=============================== | ||
|
||
.. automodule:: plugins.extract._base | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins.extract.align._base module | ||
====================================== | ||
|
||
.. automodule:: plugins.extract.align._base | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
plugins.extract.align package | ||
============================= | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
plugins.extract.align._base | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: plugins.extract.align | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins.extract.detect._base module | ||
====================================== | ||
|
||
.. automodule:: plugins.extract.detect._base | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
plugins.extract.detect package | ||
============================== | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
plugins.extract.detect._base | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: plugins.extract.detect | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
plugins.extract.pipeline module | ||
=============================== | ||
|
||
.. automodule:: plugins.extract.pipeline | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
plugins.extract package | ||
======================= | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
|
||
plugins.extract.align | ||
plugins.extract.detect | ||
|
||
Submodules | ||
---------- | ||
|
||
.. toctree:: | ||
|
||
plugins.extract._base | ||
plugins.extract.pipeline | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: plugins.extract | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
plugins package | ||
=============== | ||
|
||
Subpackages | ||
----------- | ||
|
||
.. toctree:: | ||
|
||
plugins.extract | ||
|
||
Module contents | ||
--------------- | ||
|
||
.. automodule:: plugins | ||
:members: | ||
:undoc-members: | ||
:show-inheritance: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. faceswap documentation master file, created by | ||
sphinx-quickstart on Fri Sep 13 11:28:50 2019. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
faceswap.dev Developer Documentation | ||
==================================== | ||
|
||
.. toctree:: | ||
:maxdepth: 6 | ||
:caption: Contents: | ||
|
||
full/modules | ||
|
||
|
||
Indices and tables | ||
================== | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.