😊 Python module for face feature changing

Overview

PyWarping

Python module for face feature changing

Installation

pip install pywarping

If you get an error: No such file or directory: 'cmake': 'cmake', you need to make sure cmake is installed. If you're on OSX you can install this via Homebrew with:

brew install cmake

For other platforms please consult the Cmake documentation at https://cmake.org/install/

Usage

For each face in an image define what actions are to be performed on it, pywarping will do the rest. Check out the docs here.

Minimal Example

import matplotlib.pyplot as plt

from pywarping.actions import Chubby, Multiple, Pipeline, Smile
from pywarping.detect import LandmarkFace

img_path = 'path/to/your/image'
img = plt.imread(img_path)

lf = LandmarkFace.estimate(img)

a_per_face = Pipeline([Chubby(), Smile()])
a_all = Multiple(a_per_face)

new_lf, _ = a_all.perform(lf)
new_lf.plot(show_landmarks=False, show_numbers=False)

CLI

pywarping also comes with a CLI that exposes some of its functionality. You can list the commands with pw --help:

Usage: pw [OPTIONS] COMMAND [ARGS]...

  Automated face warping tool.

Options:
  --help  Show this message and exit.

Commands:
  list     List available actions.
  perform  Take an action.

To perform an action (Smile in the example below) and plot the result on the screen

pw perform Smile INPUT_IMG_PATH

or if you want to create a new image and save it

pw perform Smile INPUT_IMG_PATH OUTPUT_IMG_PATH

Notes

By default we are using a pretrained landmark model from https://github.com/davisking/dlib-models.

License

This Project Has Been MIT Licensed

You might also like...
Swapping face using Face Mesh with TensorFlow Lite
Swapping face using Face Mesh with TensorFlow Lite

Swapping face using Face Mesh with TensorFlow Lite

Face Synthetics dataset is a collection of diverse synthetic face images with ground truth labels.
Face Synthetics dataset is a collection of diverse synthetic face images with ground truth labels.

The Face Synthetics dataset Face Synthetics dataset is a collection of diverse synthetic face images with ground truth labels. It was introduced in ou

Face Library is an open source package for accurate and real-time face detection and recognition
Face Library is an open source package for accurate and real-time face detection and recognition

Face Library Face Library is an open source package for accurate and real-time face detection and recognition. The package is built over OpenCV and us

VGGFace2-HQ - A high resolution face dataset for face editing purpose
VGGFace2-HQ - A high resolution face dataset for face editing purpose

The first open source high resolution dataset for face swapping!!! A high resolution version of VGGFace2 for academic face editing purpose

A large-scale face dataset for face parsing, recognition, generation and editing.
A large-scale face dataset for face parsing, recognition, generation and editing.

CelebAMask-HQ [Paper] [Demo] CelebAMask-HQ is a large-scale face image dataset that has 30,000 high-resolution face images selected from the CelebA da

AI Face Mesh: This is a simple face mesh detection program based on Artificial intelligence.

AI Face Mesh: This is a simple face mesh detection program based on Artificial Intelligence which made with Python. It's able to detect 468 different

Face and Pose detector that emits MQTT events when a face or human body is detected and not detected.
Face and Pose detector that emits MQTT events when a face or human body is detected and not detected.

Face Detect MQTT Face or Pose detector that emits MQTT events when a face or human body is detected and not detected. I built this as an alternative t

Genetic feature selection module for scikit-learn

sklearn-genetic Genetic feature selection module for scikit-learn Genetic algorithms mimic the process of natural selection to search for optimal valu

Implementation of the Triangle Multiplicative module, used in Alphafold2 as an efficient way to mix rows or columns of a 2d feature map, as a standalone package for Pytorch
Implementation of the Triangle Multiplicative module, used in Alphafold2 as an efficient way to mix rows or columns of a 2d feature map, as a standalone package for Pytorch

Triangle Multiplicative Module - Pytorch Implementation of the Triangle Multiplicative module, used in Alphafold2 as an efficient way to mix rows or c

Comments
  • Cant seem to install pywarping

    Cant seem to install pywarping

    This is the error when I try to install it with pip(Pip version 21.1.2, python version 3.9.1)

    `Collecting pywarping Using cached pywarping-0.2-py3-none-any.whl Requirement already satisfied: scikit-image in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from pywarping) (0.18.2) Requirement already satisfied: opencv-python in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from pywarping) (4.5.2.52) Requirement already satisfied: matplotlib>=2.0.0 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from pywarping) (3.4.2) Collecting dlib Using cached dlib-19.22.0.tar.gz (7.4 MB) Requirement already satisfied: click>=7.0 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from pywarping) (7.1.2) Requirement already satisfied: numpy>=1.16.4 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from pywarping) (1.20.0) Requirement already satisfied: kiwisolver>=1.0.1 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=2.0.0->pywarping) (1.3.1) Requirement already satisfied: pyparsing>=2.2.1 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=2.0.0->pywarping) (2.4.7) Requirement already satisfied: cycler>=0.10 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=2.0.0->pywarping) (0.10.0) Requirement already satisfied: pillow>=6.2.0 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=2.0.0->pywarping) (8.1.2) Requirement already satisfied: python-dateutil>=2.7 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from matplotlib>=2.0.0->pywarping) (2.8.1) Requirement already satisfied: six in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from cycler>=0.10->matplotlib>=2.0.0->pywarping) (1.15.0) Requirement already satisfied: networkx>=2.0 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from scikit-image->pywarping) (2.5.1) Requirement already satisfied: scipy>=1.0.1 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from scikit-image->pywarping) (1.6.3) Requirement already satisfied: imageio>=2.3.0 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from scikit-image->pywarping) (2.9.0) Requirement already satisfied: tifffile>=2019.7.26 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from scikit-image->pywarping) (2021.6.14) Requirement already satisfied: PyWavelets>=1.1.1 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from scikit-image->pywarping) (1.1.1) Requirement already satisfied: decorator<5,>=4.3 in c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages (from networkx>=2.0->scikit-image->pywarping) (4.4.2) Building wheels for collected packages: dlib Building wheel for dlib (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'c:\users\saketh\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py'"'"'; file='"'"'C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\saketh\AppData\Local\Temp\pip-wheel-3lg422aj' cwd: C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12
    Complete output (58 lines): running bdist_wheel running build running build_py package init file 'tools\python\dlib_init_.py' not found (or not a regular file) running build_ext Building extension for Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\build\lib.win-amd64-3.9 -DPYTHON_EXECUTABLE=c:\users\saketh\appdata\local\programs\python\python39\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\build\lib.win-amd64-3.9 -A x64' -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:5 (message):

    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    
    You must use Visual Studio to build a python extension on windows.  If you
    are getting this error it means you have not installed Visual C++.  Note
    that there are many flavors of Visual Studio, like Visual Studio for C#
    development.  You need to install Visual Studio for C++.
    
    
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    

    -- Configuring incomplete, errors occurred! Traceback (most recent call last): File "", line 1, in File "C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py", line 222, in setup( File "c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages\setuptools_init_.py", line 153, in setup return distutils.core.setup(**attrs) File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\core.py", line 148, in setup dist.run_commands() File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\dist.py", line 966, in run_commands self.run_command(cmd) File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages\wheel\bdist_wheel.py", line 299, in run self.run_command('build') File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\command\build.py", line 135, in run self.run_command(cmd_name) File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command cmd_obj.run() File "C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py", line 134, in run self.build_extension(ext) File "C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py", line 171, in build_extension subprocess.check_call(cmake_setup, cwd=build_folder) File "c:\users\saketh\appdata\local\programs\python\python39\lib\subprocess.py", line 373, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', 'C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\build\lib.win-amd64-3.9', '-DPYTHON_EXECUTABLE=c:\users\saketh\appdata\local\programs\python\python39\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\build\lib.win-amd64-3.9', '-A', 'x64']' returned non-zero exit status 1.

    ERROR: Failed building wheel for dlib Running setup.py clean for dlib Failed to build dlib Installing collected packages: dlib, pywarping Running setup.py install for dlib ... error ERROR: Command errored out with exit status 1: command: 'c:\users\saketh\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py'"'"'; file='"'"'C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\saketh\AppData\Local\Temp\pip-record-j6g7aj6l\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\saketh\appdata\local\programs\python\python39\Include\dlib' cwd: C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12
    Complete output (60 lines): running install running build running build_py package init file 'tools\python\dlib_init_.py' not found (or not a regular file) running build_ext Building extension for Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)] Invoking CMake setup: 'cmake C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\build\lib.win-amd64-3.9 -DPYTHON_EXECUTABLE=c:\users\saketh\appdata\local\programs\python\python39\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\build\lib.win-amd64-3.9 -A x64' -- Building for: NMake Makefiles CMake Error at CMakeLists.txt:5 (message):

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    
      You must use Visual Studio to build a python extension on windows.  If you
      are getting this error it means you have not installed Visual C++.  Note
      that there are many flavors of Visual Studio, like Visual Studio for C#
      development.  You need to install Visual Studio for C++.
    
    
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    
    
    
    
    -- Configuring incomplete, errors occurred!
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py", line 222, in <module>
        setup(
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages\setuptools\__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\core.py", line 148, in setup
        dist.run_commands()
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\site-packages\setuptools\command\install.py", line 61, in run
        return orig.install.run(self)
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\command\install.py", line 546, in run
        self.run_command('build')
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\command\build.py", line 135, in run
        self.run_command(cmd_name)
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\distutils\dist.py", line 985, in run_command
        cmd_obj.run()
      File "C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py", line 134, in run
        self.build_extension(ext)
      File "C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py", line 171, in build_extension
        subprocess.check_call(cmake_setup, cwd=build_folder)
      File "c:\users\saketh\appdata\local\programs\python\python39\lib\subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\saketh\\AppData\\Local\\Temp\\pip-install-n2rkpdbi\\dlib_d0a2d4f321944269b438c57829027f12\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\saketh\\AppData\\Local\\Temp\\pip-install-n2rkpdbi\\dlib_d0a2d4f321944269b438c57829027f12\\build\\lib.win-amd64-3.9', '-DPYTHON_EXECUTABLE=c:\\users\\saketh\\appdata\\local\\programs\\python\\python39\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\saketh\\AppData\\Local\\Temp\\pip-install-n2rkpdbi\\dlib_d0a2d4f321944269b438c57829027f12\\build\\lib.win-amd64-3.9', '-A', 'x64']' returned non-zero exit status 1.
    ----------------------------------------
    

    ERROR: Command errored out with exit status 1: 'c:\users\saketh\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py'"'"'; file='"'"'C:\Users\saketh\AppData\Local\Temp\pip-install-n2rkpdbi\dlib_d0a2d4f321944269b438c57829027f12\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\saketh\AppData\Local\Temp\pip-record-j6g7aj6l\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\saketh\appdata\local\programs\python\python39\Include\dlib' Check the logs for full command output.`

    opened by RandomTextWritten 3
  • Error in using pywarping

    Error in using pywarping

    I have finally downloaded visual studio 2019 C++(finally) aaaand I get this error :C

    Exception has occurred: AttributeError module 'urllib' has no attribute 'request' File "C:\Users\saketh\OneDrive\Documents\Code\Python\pywarpingtest.py", line 12, in <module> lf = LandmarkFace.estimate(img)

    opened by RandomTextWritten 6
Releases(0.2)
Owner
Dopevog
| Hey 👋 | ¯\_(ツ)_/¯ | 14 |
Dopevog
Simple, but essential Bayesian optimization package

BayesO: A Bayesian optimization framework in Python Simple, but essential Bayesian optimization package. http://bayeso.org Online documentation Instal

Jungtaek Kim 74 Dec 05, 2022
code for Fast Point Cloud Registration with Optimal Transport

robot This is the repository for the paper "Accurate Point Cloud Registration with Robust Optimal Transport". We are in the process of refactoring the

28 Jan 04, 2023
Face and Body Tracking for VRM 3D models on the web.

Kalidoface 3D - Face and Full-Body tracking for Vtubing on the web! A sequal to Kalidoface which supports Live2D avatars, Kalidoface 3D is a web app t

Rich 257 Jan 02, 2023
Deep Illuminator is a data augmentation tool designed for image relighting. It can be used to easily and efficiently generate a wide range of illumination variants of a single image.

Deep Illuminator Deep Illuminator is a data augmentation tool designed for image relighting. It can be used to easily and efficiently generate a wide

George Chogovadze 52 Nov 29, 2022
HNN: Human (Hollywood) Neural Network

HNN: Human (Hollywood) Neural Network Learn the top 1000 actors on IMDB with your very own low cost, highly parallel, CUDAless biological neural netwo

Madhava Jay 0 Dec 21, 2021
Learnable Boundary Guided Adversarial Training (ICCV2021)

Learnable Boundary Guided Adversarial Training This repository contains the implementation code for the ICCV2021 paper: Learnable Boundary Guided Adve

DV Lab 27 Sep 25, 2022
Learning Compatible Embeddings, ICCV 2021

LCE Learning Compatible Embeddings, ICCV 2021 by Qiang Meng, Chixiang Zhang, Xiaoqiang Xu and Feng Zhou Paper: Arxiv We cannot release source codes pu

Qiang Meng 25 Dec 17, 2022
Language Models for the legal domain in Spanish done @ BSC-TEMU within the "Plan de las Tecnologías del Lenguaje" (Plan-TL).

Spanish legal domain Language Model ⚖️ This repository contains the page for two main resources for the Spanish legal domain: A RoBERTa model: https:/

Plan de Tecnologías del Lenguaje - Gobierno de España 12 Nov 14, 2022
Implementation for Paper "Inverting Generative Adversarial Renderer for Face Reconstruction"

StyleGAR TODO: add arxiv link Implementation of Inverting Generative Adversarial Renderer for Face Reconstruction TODO: for test Currently, some model

155 Oct 27, 2022
Code for the bachelors-thesis flaky fault localization

Flaky_Fault_Localization Scripts for the Bachelors-Thesis: "Flaky Fault Localization" by Christian Kasberger. The thesis examines the usefulness of sp

Christian Kasberger 1 Oct 26, 2021
The Codebase for Causal Distillation for Language Models.

Causal Distillation for Language Models Zhengxuan Wu*,Atticus Geiger*, Josh Rozner, Elisa Kreiss, Hanson Lu, Thomas Icard, Christopher Potts, Noah D.

Zen 20 Dec 31, 2022
Resilient projection-based consensus actor-critic (RPBCAC) algorithm

Resilient projection-based consensus actor-critic (RPBCAC) algorithm We implement the RPBCAC algorithm with nonlinear approximation from [1] and focus

Martin Figura 5 Jul 12, 2022
Official implementation of the paper "Lightweight Deep CNN for Natural Image Matting via Similarity Preserving Knowledge Distillation"

Lightweight-Deep-CNN-for-Natural-Image-Matting-via-Similarity-Preserving-Knowledge-Distillation Introduction Accepted at IEEE Signal Processing Letter

DongGeun-Yoon 19 Jun 07, 2022
[CVPR 2021] Rethinking Text Segmentation: A Novel Dataset and A Text-Specific Refinement Approach

Rethinking Text Segmentation: A Novel Dataset and A Text-Specific Refinement Approach This is the repo to host the dataset TextSeg and code for TexRNe

SHI Lab 174 Dec 19, 2022
A TensorFlow implementation of the Mnemonic Descent Method.

MDM A Tensorflow implementation of the Mnemonic Descent Method. Mnemonic Descent Method: A recurrent process applied for end-to-end face alignment G.

123 Oct 07, 2022
Extreme Lightwegith Portrait Segmentation

Extreme Lightwegith Portrait Segmentation Please go to this link to download code Requirements python 3 pytorch = 0.4.1 torchvision==0.2.1 opencv-pyt

HYOJINPARK 59 Dec 16, 2022
Neural Articulated Radiance Field

Neural Articulated Radiance Field NARF Neural Articulated Radiance Field Atsuhiro Noguchi, Xiao Sun, Stephen Lin, Tatsuya Harada ICCV 2021 [Paper] [Co

Atsuhiro Noguchi 144 Jan 03, 2023
pytorch bert intent classification and slot filling

pytorch_bert_intent_classification_and_slot_filling 基于pytorch的中文意图识别和槽位填充 说明 基本思路就是:分类+序列标注(命名实体识别)同时训练。 使用的预训练模型:hugging face上的chinese-bert-wwm-ext 依

西西嘛呦 33 Dec 15, 2022
A python implementation of Deep-Image-Analogy based on pytorch.

Deep-Image-Analogy This project is a python implementation of Deep Image Analogy.https://arxiv.org/abs/1705.01088. Some results Requirements python 3

Peng Lu 171 Dec 14, 2022
PlenOctree Extraction algorithm

PlenOctrees_NeRF-SH This is an implementation of the Paper PlenOctrees for Real-time Rendering of Neural Radiance Fields. Not only the code provides t

49 Nov 05, 2022