FaceAPI: AI-powered Face Detection & Rotation Tracking, Face Description & Recognition, Age & Gender & Emotion Prediction for Browser and NodeJS using TensorFlow/JS

Overview

Git Version NPM Version Last Commit License GitHub Status Checks Vulnerabilities

FaceAPI

AI-powered Face Detection & Rotation Tracking, Face Description & Recognition, Age & Gender & Emotion Prediction for Browser and NodeJS using TensorFlow/JS


Live Demo: https://vladmandic.github.io/face-api/demo/webcam.html


Additional Documentation




Examples


Browser

Browser example that uses static images and showcases both models
as well as all of the extensions is included in /demo/index.html
Example can be accessed directly using Git pages using URL:
https://vladmandic.github.io/face-api/demo/index.html

Browser example that uses live webcam is included in /demo/webcam.html
Example can be accessed directly using Git pages using URL:
https://vladmandic.github.io/face-api/demo/webcam.html


Demo using FaceAPI to process images
Note: Photos shown below are taken by me

screenshot

Demo using FaceAPI to process live webcam

screenshot


NodeJS

Three NodeJS examples are:

  • /demo/node.js:
    Regular usage of FaceAPI from NodeJS
    Using TFJS native methods to load images without external dependencies
  • /demo/node-canvas.js:
    Regular usage of FaceAPI from NodeJS
    Using external canvas module to load images
    Which also allows for image drawing and saving inside NodeJS environment
  • /demo/node-multiprocess.js:
    Multiprocessing showcase that uses pool of worker processes
    (node-multiprocess-worker.js)
    Main starts fixed pool of worker processes with each worker having
    it's instance of FaceAPI
    Workers communicate with main when they are ready and main dispaches
    job to each ready worker until job queue is empty
2021-03-14 08:42:03 INFO:  @vladmandic/face-api version 1.0.2
2021-03-14 08:42:03 INFO:  User: vlado Platform: linux Arch: x64 Node: v15.7.0
2021-03-14 08:42:03 INFO:  FaceAPI multi-process test
2021-03-14 08:42:03 STATE:  Main: started worker: 1888019
2021-03-14 08:42:03 STATE:  Main: started worker: 1888025
2021-03-14 08:42:04 STATE:  Worker: PID: 1888025 TensorFlow/JS 3.3.0 FaceAPI 1.0.2 Backend: tensorflow
2021-03-14 08:42:04 STATE:  Worker: PID: 1888019 TensorFlow/JS 3.3.0 FaceAPI 1.0.2 Backend: tensorflow
2021-03-14 08:42:04 STATE:  Main: dispatching to worker: 1888019
2021-03-14 08:42:04 STATE:  Main: dispatching to worker: 1888025
2021-03-14 08:42:04 DATA:  Worker received message: 1888019 { image: 'demo/sample1.jpg' }
2021-03-14 08:42:04 DATA:  Worker received message: 1888025 { image: 'demo/sample2.jpg' }
2021-03-14 08:42:06 DATA:  Main: worker finished: 1888025 detected faces: 3
2021-03-14 08:42:06 STATE:  Main: dispatching to worker: 1888025
2021-03-14 08:42:06 DATA:  Worker received message: 1888025 { image: 'demo/sample3.jpg' }
2021-03-14 08:42:06 DATA:  Main: worker finished: 1888019 detected faces: 3
2021-03-14 08:42:06 STATE:  Main: dispatching to worker: 1888019
2021-03-14 08:42:06 DATA:  Worker received message: 1888019 { image: 'demo/sample4.jpg' }
2021-03-14 08:42:07 DATA:  Main: worker finished: 1888025 detected faces: 3
2021-03-14 08:42:07 STATE:  Main: dispatching to worker: 1888025
2021-03-14 08:42:07 DATA:  Worker received message: 1888025 { image: 'demo/sample5.jpg' }
2021-03-14 08:42:08 DATA:  Main: worker finished: 1888019 detected faces: 4
2021-03-14 08:42:08 STATE:  Main: dispatching to worker: 1888019
2021-03-14 08:42:08 DATA:  Worker received message: 1888019 { image: 'demo/sample6.jpg' }
2021-03-14 08:42:09 DATA:  Main: worker finished: 1888025 detected faces: 5
2021-03-14 08:42:09 STATE:  Main: worker exit: 1888025 0
2021-03-14 08:42:09 DATA:  Main: worker finished: 1888019 detected faces: 4
2021-03-14 08:42:09 INFO:  Processed 15 images in 5944 ms
2021-03-14 08:42:09 STATE:  Main: worker exit: 1888019 0

Note that @tensorflow/tfjs-node or @tensorflow/tfjs-node-gpu
must be installed before using NodeJS example




Quick Start

Simply include latest version of FaceAPI directly from a CDN in your HTML:
(pick one, jsdelivr or unpkg)

">
<script src="https://cdn.jsdelivr.net/npm/@vladmandic/face-api/dist/face-api.js">script>
<script src="https://unpkg.dev/@vladmandic/face-api/dist/face-api.js">script>

Installation

FaceAPI ships with several pre-build versions of the library:

  • dist/face-api.js: IIFE format for client-side Browser execution
    with TFJS pre-bundled
  • dist/face-api.esm.js: ESM format for client-side Browser execution
    with TFJS pre-bundled
  • dist/face-api.esm-nobundle.js: ESM format for client-side Browser execution
    without TFJS pre-bundled
  • dist/face-api.node.js: CommonJS format for server-side NodeJS execution
    without TFJS pre-bundled
  • dist/face-api.node-gpu.js: CommonJS format for server-side NodeJS execution
    without TFJS pre-bundled and optimized for CUDA GPU acceleration

Defaults are:

{
  "main": "dist/face-api.node-js",
  "module": "dist/face-api.esm.js",
  "browser": "dist/face-api.esm.js",
}

Bundled TFJS can be used directly via export: faceapi.tf

Reason for additional nobundle version is if you want to
include a specific version of TFJS and not rely on pre-packaged one

FaceAPI is compatible with TFJS 2.0+ and TFJS 3.0+

All versions include sourcemap




There are several ways to use FaceAPI:

1. IIFE script

Recommened for quick tests and backward compatibility with older Browsers that do not support ESM such as IE

This is simplest way for usage within Browser
Simply download dist/face-api.js, include it in your HTML file & it's ready to use:

">
<script src="https://cdn.jsdelivr.net/npm/@vladmandic/face-api/dist/face-api.js">script>

IIFE script bundles TFJS and auto-registers global namespace faceapi within Window object which can be accessed directly from a

Comments
  • Migration @vladmandic/face-api to old face-api

    Migration @vladmandic/face-api to old face-api

    Hi, What are steps that need to be done ? 1.pacakge json for @vladmandic/face-api we used: "@tensorflow/tfjs-node": "^3.9.0", "@vladmandic/face-api": "^1.5.4", what are in old face-api ? 2.The project old face-api written in typescript, can I used it in js ? 3.What about modal they can be loaded in startup like in @vladmandic/face-api ? 4.const faceapi = require('@vladmandic/face-api'); in old api how is it in js? 5.Does the interface(methods of faceapi are same on both platform ? Thanks,

    opened by danies8 53
  • how to fully optimize processing to take advance of all available hardware

    how to fully optimize processing to take advance of all available hardware

    I run this function:

      async function analyzeFrame (frameData, index) {
        const tensor = await getTensorFromBuffer(frameData)
        const faces = await faceapi.detectAllFaces(tensor, optionsSSDMobileNet).withFaceLandmarks().withFaceDescriptors()
        tensor.dispose()
        faces.forEach(async (face) => {
          // console.log(face)
        })
      }
    

    for hundreds of frames of a video. When doing so, it takes about half the time as if it where using only tfjs-node. It fills the RAM of my two 1080s, however the only usage that changes when I start the script is GPU 1s copy utilization goes to about 15%.

    I want to take better advantage of my hardware and run this faster.

    Windows 10, cuda 10, TFJS 2.7.0

    question 
    opened by Nuzzlet 33
  •   return process.dlopen(module, path.toNamespacedPath(filename));

    return process.dlopen(module, path.toNamespacedPath(filename));

    hey! im using your package in my project for face recognition and it works fine. i copied the same project to different computer and im getting this error. tried all solutions available online, reinstalled node modules a number of times, tried all versions of node and tensorflow as well as your package, not sure where is the error coming from.

    here is the error stack:

    return process.dlopen(module, path.toNamespacedPath(filename)); ^

    Error: A dynamic link library (DLL) initialization routine failed. \?\C:\Users\User\Documents\digitallending_sql\[email protected]\tfjs-node\lib\napi-v5\tfjs_binding.node at Object.Module._extensions..node (internal/modules/cjs/loader.js:1206:18) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Module.require (internal/modules/cjs/loader.js:1042:19) at require (internal/modules/cjs/helpers.js:77:18) at Object. (C:\Users\User\Documents\digitallending_sql\[email protected]\tfjs-node\dist\index.js:58:16) at Module._compile (internal/modules/cjs/loader.js:1156:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Module.require (internal/modules/cjs/loader.js:1042:19) at require (internal/modules/cjs/helpers.js:77:18) at Object. (C:\Users\User\Documents\digitallending_sql\functions\facedetection.js:2:1) at Module._compile (internal/modules/cjs/loader.js:1156:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Module.require (internal/modules/cjs/loader.js:1042:19) at require (internal/modules/cjs/helpers.js:77:18) at Object. (C:\Users\User\Documents\digitallending_sql\controllers\applicationController.js:6:20) at Module._compile (internal/modules/cjs/loader.js:1156:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10) at Module.load (internal/modules/cjs/loader.js:1000:32) at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Module.require (internal/modules/cjs/loader.js:1042:19) at require (internal/modules/cjs/helpers.js:77:18) at Object. (C:\Users\User\Documents\digitallending_sql\routes\applicationRouter.js:3:29) at Module._compile (internal/modules/cjs/loader.js:1156:30)


    im using windows 10, node 12.16.2

    wontfix 
    opened by Muhammad-Ehsan-Ul-Haq 28
  • Unable to use faceapi in a nexjs - react application

    Unable to use faceapi in a nexjs - react application "Module not found: Can't resolve 'fs'"

    Issue Description Getting the following error:

    error - ./node_modules/@vladmandic/face-api/dist/face-api.esm.js:8:25031 Module not found: Can't resolve 'fs'

    Steps to Reproduce create a nextjs application as given here:

    https://nextjs.org/learn/basics/create-nextjs-app/setup

    added face api packages (npm install). Including tensorflow Invoked the api to load the models: await faceapi.nets.ssdMobilenetv1.loadFromUri('/models')

    And got the error:

    Expected Behavior It should have loaded the models.

    **Environment Windows 10. Nodejs. React application. Using VS code editor. Browser is chrome/Edge.

    • Module version?
    • Built-in demo or custom code? - custom
    • Type of module used (e.g. js, esm, esm-nobundle)? js
    • Browser or NodeJS and version (e.g. NodeJS 14.15 or Chrome 89)? - Node v14.13.1, Chrome Version 89.0.4389.90 (Official Build) (64-bit)
    • OS and Hardware platform (e.g. Windows 10, Ubuntu Linux on x64, Android 10)? Windows 10
    • Packager (if any) (e.g, webpack, rollup, parcel, esbuild, etc.)? standard webpack

    Additional

    • For installation or startup issues include your package.json
    • For usage issues, it is recommended to post your code as gist
    question 
    opened by karthik-Gopalan 26
  • Can't use in a lerna/create-react app project

    Can't use in a lerna/create-react app project

    I am using the library in a TypeScript lerna module which is build with tsc and then bundled as part of a create-react-app. I had no issue with the original face-api but wanted the latest fdjs. I am using the npm module with npm install.

    If I only do:

    import * as faceapi from '@vladmandic/face-api'

    I get a compile error:

    Failed to compile ../face-detect-plugin/node_modules/@vladmandic/face-api/dist/face-api.js 344:47 Module parse failed: Unexpected token (344:47) File was processed with these loaders:

    • ./node_modules/babel-loader/lib/index.js You may need an additional loader to handle the result of these loaders. | } : T || {}; |
        var E = g(f(T.entropy ? [x, w(e)] : x ?? y(), 3), _),
    

    | F = new d(_), | D = function () {

    if I add:

    import * as tf from '@tensorflow/tfjs'

    before importing face-api then I get an error in the console:

    Uncaught SyntaxError: Unexpected token '!'

    If I look at the code I see this:

    class MathBackendCPU extends !(function webpackMissingModule() { var e = new Error("Cannot find module '@tensorflow/tfjs-core'"); e.code = 'MODULE_NOT_FOUND'; throw e; }()) { constructor() { super(); this.blockSize = 48; this.firstUse = true; this.data = new !(function webpackMissingModule() { var e = new Error("Cannot find module '@tensorflow/tfjs-core'"); e.code = 'MODULE_NOT_FOUND'; throw e; }())(this, !(function webpackMissingModule() { var e = new Error("Cannot find module '@tensorflow/tfjs-core'"); e.code = 'MODULE_NOT_FOUND'; throw e; }())()); }

    question 
    opened by ost12666 23
  • Implement head position angle of  (yaw, roll, pitch)

    Implement head position angle of (yaw, roll, pitch)

    HI do you have plan to implement Head position angle of (Yaw, Roll, Pitch)

    pose: {
      pitch_angle: {value: 11.102898}
      roll_angle: {value: -20.291693}
      yaw_angle: {value: 14.172521}
    }
    

    like face-api discuss here https://github.com/justadudewhohacks/face-api.js/issues/107

    enhancement 
    opened by tianyingchun 19
  • There is a leak memory: faceapi.extractFaceTensors and  faceapi.extractFaces

    There is a leak memory: faceapi.extractFaceTensors and faceapi.extractFaces

    faceapi.tf.setBackend('webgl');
    faceapi.tf.enableProdMode();
    faceapi.tf.ENV.set('DEBUG', false);
    faceapi.tf.ready();
    
    .......
    const videoTensor = await faceapi.tf.browser.fromPixels(video);
    const detections = await faceapi.detectAllFaces(videoTensor, new faceapi.SsdMobilenetv1Options({ minConfidence: minScore, maxResults }));
    const faceImages = await faceapi.extractFaceTensors(videoTensor, detections);
    
    await videoTensor.dispose();
    await faceImages[0].dispose();
    
    

    I follow my GPU memory. I detect a leak memory. Maybe we can use x.dispose(); I tried it, but this problem continue... I checked faceapi.detectAllFaces function. There is not any leak. I think faceapi.extractFaceTensors function. How can I fix it?

    question 
    opened by umitkacar 19
  • @vladmandic/face-api/dist/face-api.node.js requires ES module???

    @vladmandic/face-api/dist/face-api.node.js requires ES module???

    trying to migrate to your fork of face-api

    Using:

    let faceapi   = require('@vladmandic/face-api/dist/face-api.node.js');
    

    I get:

    Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/meeki/node-red-contrib-facial-recognition/node_modules/@vladmandic/face-api/dist/face-api.node.js
    require() of ES modules is not supported.
    require() of /home/meeki/node-red-contrib-facial-recognition/node_modules/@vladmandic/face-api/dist/face-api.node.js from /home/meeki/node-red-contrib-facial-recognition/facial-recognition.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
    Instead rename face-api.node.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/meeki/node-red-contrib-facial-recognition/node_modules/@vladmandic/face-api/package.json.
    

    interesting

    bug help wanted 
    opened by meeki007 17
  • How does detectAllFaces function will handle fake image photo by mobile

    How does detectAllFaces function will handle fake image photo by mobile

    Hi, I used this code that detect all faces, I want to avoid that user will photo himself by cellular and show the cellular photo to camera , how I avoid by code ? For know fake image by cellular also work. I saw this link in history issue and there is no option do install through npm ? https://github.com/vladmandic/anti-spoofing

     const ssdOptions = { minConfidence: 0.1, maxResults: 10 };
          const optionsSSDMobileNet = new faceapi.SsdMobilenetv1Options(ssdOptions);
          const faces = await faceapi
            .detectAllFaces(tensor, optionsSSDMobileNet)
            .withFaceLandmarks()
            .withFaceExpressions()
            .withFaceDescriptors()
            .withAgeAndGender();
    
    
    opened by danies8 15
  • Resource load failed

    Resource load failed

    Issue Description Vue2 builds a demo, loadFromUri loads tinyFaceDetector, and loads loadFaceLandmarkModel, PC loads resources successfully, but Apple mobile safari fails to load

    Expected Behavior Resources can be loaded on both PC and mobile

    **Environment window 10 + chrome 98.0.4758.102(PC) + safari(mobile)

    • Module version? "@vladmandic/face-api": "^1.6.5" "vue": "^2.5.2"

    • Built-in demo or custom code? https://busyshadow.github.io/#/

    • Type of module used (e.g. js, esm, esm-nobundle)? js

    • Packager (if any) (e.g, webpack, rollup, parcel, esbuild, etc.)? webpack

    • For installation or startup issues include your package.json

    {
      "name": "faceDemo",
      "version": "1.0.0",
      "description": "A Vue.js project",
      "author": "",
      "private": true,
      "scripts": {
        "dev": "vue-cli-service serve",
        "build": "vue-cli-service build"
      },
      "dependencies": {
        "@vladmandic/face-api": "^1.6.5",
        "uglifyjs-webpack-plugin": "^2.2.0",
        "vconsole": "^3.12.0",
        "vue": "^2.5.2",
        "vue-router": "^3.1.6"
      },
      "devDependencies": {
        "@vue/cli-plugin-babel": "~4.3.1",
        "@vue/cli-plugin-router": "~4.3.1",
        "@vue/cli-service": "~4.3.1",
        "vue-template-compiler": "^2.6.11"
      },
      "engines": {
        "node": ">= 6.0.0",
        "npm": ">= 3.0.0"
      },
      "browserslist": [
        "> 1%",
        "last 2 versions",
        "not ie <= 8"
      ]
    }
    

    index.vue

    <template>
        <div>
            <div>err1:{{err1}}</div>
            <div>err2:{{err2}}</div>
        </div>
    </template>
    <script>
        import * as faceapi from '@vladmandic/face-api';
        // import * as faceapi from "face-api.js";
        import vconsole from 'vconsole';
        let _this;
        export default {
            data(){
                return {
                    err1:"",
                    err2:"",
                }
            },
            created(){
                new vconsole();
            },
            mounted(){
                _this = this;
                this.$nextTick(() => {
                    this.fnInit();
                });
            },
            methods:{
                async fnInit(){
                    try {
                        await faceapi.nets['tinyFaceDetector'].loadFromUri("https://busyshadow.github.io/models");
                    }catch(e){
                        this.err1 = e;
                    }
                    try {
                        await faceapi.loadFaceLandmarkModel("https://busyshadow.github.io/models");
                    } catch(e){
                        this.err2 = e;
                    }
    
                    _this.options = new faceapi.TinyFaceDetectorOptions({
                        inputSize: 224, // 160 224 320 416 512 608
                        scoreThreshold: 0.3, // 0.1 ~ 0.9
                    });
                }
            }
        }
    </script>
    

    success success

    error error

    opened by busyShadow 14
  • faceapi is working for me on desktop but not on mobile

    faceapi is working for me on desktop but not on mobile

    faceapi is working for me on desktop but not on mobile.

    I am using wasm, as recommended to me and it worked perfect for a long time, both on desktop and mobil.

    import * as faceapi from "@vladmandic/face-api/dist/face-api.esm.js";

    async start() { /**el face api solo se necesita para el selfie */ if (this.type == "selfie") { await this.backendWasm(); await this.setupFaceAPI(); } } async setupFaceAPI() { await faceapi.nets.tinyFaceDetector.loadFromUri("/statics/models"); },

    async backendWasm() {
      await faceapi.tf.setWasmPaths("../statics/");
      await faceapi.tf.setBackend("wasm");
    },
    

    for a couple of days it stopped working on mobile, will it be a question of versions of the libraries?

    tensorflow face api ?? Captura de Pantalla 2021-06-28 a la(s) 1 33 21 p  m Captura de Pantalla 2021-06-28 a la(s) 12 57 45 p  m Captura de Pantalla 2021-06-28 a la(s) 12 57 50 p  m

    if you look at the first image they don't load all the wasm files, that's in mobile.

    but in the other two images, if you see if they load all the files, that's on desktop

    uso chrome.

    "@tensorflow/tfjs": "^3.3.0", "@tensorflow/tfjs-backend-wasm": "^3.3.0", "@vladmandic/face-api": "^1.1.12",

    Captura de Pantalla 2021-06-28 a la(s) 1 29 27 p  m
    opened by deylyn 14
Releases(1.7.1)
MMdet2-based reposity about lightweight detection model: Nanodet, PicoDet.

Lightweight-Detection-and-KD MMdet2-based reposity about lightweight detection model: Nanodet, PicoDet. This repo also includes detection knowledge di

Egqawkq 12 Jan 05, 2023
Churn prediction

Churn-prediction Churn-prediction Data preprocessing:: Label encoder is used to normalize the categorical variable Data Transformation:: For each data

1 Sep 28, 2022
This repo contains the code and data used in the paper "Wizard of Search Engine: Access to Information Through Conversations with Search Engines"

Wizard of Search Engine: Access to Information Through Conversations with Search Engines by Pengjie Ren, Zhongkun Liu, Xiaomeng Song, Hongtao Tian, Zh

19 Oct 27, 2022
Model Zoo of BDD100K Dataset

Model Zoo of BDD100K Dataset

ETH VIS Group 200 Dec 27, 2022
FIGARO: Generating Symbolic Music with Fine-Grained Artistic Control

FIGARO: Generating Symbolic Music with Fine-Grained Artistic Control by Dimitri von Rütte, Luca Biggio, Yannic Kilcher, Thomas Hofmann FIGARO: Generat

Dimitri 83 Jan 07, 2023
Simple Python project using Opencv and datetime package to recognise faces and log attendance data in a csv file.

Attendance-System-based-on-Facial-recognition-Attendance-data-stored-in-csv-file- Simple Python project using Opencv and datetime package to recognise

3 Aug 09, 2022
Applicator Kit for Modo allow you to apply Apple ARKit Face Tracking data from your iPhone or iPad to your characters in Modo.

Applicator Kit for Modo Applicator Kit for Modo allow you to apply Apple ARKit Face Tracking data from your iPhone or iPad with a TrueDepth camera to

Andrew Buttigieg 3 Aug 24, 2021
Official Code for AdvRush: Searching for Adversarially Robust Neural Architectures (ICCV '21)

AdvRush Official Code for AdvRush: Searching for Adversarially Robust Neural Architectures (ICCV '21) Environmental Set-up Python == 3.6.12, PyTorch =

11 Dec 10, 2022
NFNets and Adaptive Gradient Clipping for SGD implemented in PyTorch

PyTorch implementation of Normalizer-Free Networks and SGD - Adaptive Gradient Clipping Paper: https://arxiv.org/abs/2102.06171.pdf Original code: htt

Vaibhav Balloli 320 Jan 02, 2023
Replication of Pix2Seq with Pretrained Model

Pretrained-Pix2Seq We provide the pre-trained model of Pix2Seq. This version contains new data augmentation. The model is trained for 300 epochs and c

peng gao 51 Nov 22, 2022
DTCN SMP Challenge - Sequential prediction learning framework and algorithm

DTCN This is the implementation of our paper "Sequential Prediction of Social Me

Bobby 2 Jan 24, 2022
TorchFlare is a simple, beginner-friendly, and easy-to-use PyTorch Framework train your models effortlessly.

TorchFlare TorchFlare is a simple, beginner-friendly and an easy-to-use PyTorch Framework train your models without much effort. It provides an almost

Atharva Phatak 85 Dec 26, 2022
Pytorch implementation of four neural network based domain adaptation techniques: DeepCORAL, DDC, CDAN and CDAN+E. Evaluated on benchmark dataset Office31.

Deep-Unsupervised-Domain-Adaptation Pytorch implementation of four neural network based domain adaptation techniques: DeepCORAL, DDC, CDAN and CDAN+E.

Alan Grijalva 49 Dec 20, 2022
Pytorch implementation of "Geometrically Adaptive Dictionary Attack on Face Recognition" (WACV 2022)

Geometrically Adaptive Dictionary Attack on Face Recognition This is the Pytorch code of our paper "Geometrically Adaptive Dictionary Attack on Face R

6 Nov 21, 2022
Official PyTorch implementation of "Evolving Search Space for Neural Architecture Search"

Evolving Search Space for Neural Architecture Search Usage Install all required dependencies in requirements.txt and replace all ..path/..to in the co

Yuanzheng Ci 10 Oct 24, 2022
Really awesome semantic segmentation

really-awesome-semantic-segmentation A list of all papers on Semantic Segmentation and the datasets they use. This site is maintained by Holger Caesar

Holger Caesar 400 Nov 28, 2022
PyTorch code for EMNLP 2021 paper: Don't be Contradicted with Anything! CI-ToD: Towards Benchmarking Consistency for Task-oriented Dialogue System

PyTorch code for EMNLP 2021 paper: Don't be Contradicted with Anything! CI-ToD: Towards Benchmarking Consistency for Task-oriented Dialogue System

Libo Qin 25 Sep 06, 2022
Official implementation of Long-Short Transformer in PyTorch.

Long-Short Transformer (Transformer-LS) This repository hosts the code and models for the paper: Long-Short Transformer: Efficient Transformers for La

NVIDIA Corporation 198 Dec 29, 2022
An experimental technique for efficiently exploring neural architectures.

SMASH: One-Shot Model Architecture Search through HyperNetworks An experimental technique for efficiently exploring neural architectures. This reposit

Andy Brock 478 Aug 04, 2022
OneFlow is a performance-centered and open-source deep learning framework.

OneFlow OneFlow is a performance-centered and open-source deep learning framework. Latest News Version 0.5.0 is out! First class support for eager exe

OneFlow 4.2k Jan 07, 2023