GithubHelp home page GithubHelp logo

lsaiml / cavinet Goto Github PK

View Code? Open in Web Editor NEW
33.0 9.0 6.0 336.05 MB

Code for Deep Cross modal learning for Caricature Verification and Identification (CaVINet), ACM MM, 2018

License: MIT License

Python 100.00%
caricatures heterogenous-facial-recognition deep-learning computer-vision facial-recognition

cavinet's Introduction

CaVINet

Code for Deep Cross modal learning for Caricature Verification and Identification (CaVINet), ACM MM, 2018

Dataset

Please check CaVINet_Dataset folder for the visual as well as the caricature images (both present in independent folders). Note : The CaVI Dataset must be used for research only and not for any profit/commercial purpose. Dataset Directory structure:

CaVINet_Dataset
└───Real
│    └───Angela_Merkel
│    │   │   Angela_Merkel_r_0.jpg
│    │   │   Angela_Merkel_r_1.jpg
│    │   │   ...
│    │   
│    └───Bill_Gates
│    |   │   Bill_Gates_r_0.jpg
│    |   │   Bill_Gates_r_1.jpg
│    |   |   ...
│    |
│    └─── ...
│
└───Caricature
    └───Angela_Merkel
    │   │   Angela_Merkel_c_0.jpg
    │   │   Angela_Merkel_c_1.jpg
    │   │   ...
    │   
    └───Bill_Gates
    |   │   Bill_Gates_c_0.jpg
    |   │   Bill_Gates_c_1.jpg
    |   |   ...
    |
    └─── ...

Requirements

  • Keras with TensorFlow backend
  • Keras-VggFace - pip install keras_vggface
  • python 2.7

Architecture

Pre-trained weights

Link to be added soon. Please stay tuned.

cavinet's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cavinet's Issues

Lacking rcmalli_vggface_tf_vgg16.h5

On Line 214 of train.py:
model.load_weights( 'untied_softmax_weighted_error_33_33_33_lagmul_0.2_aug.h5')
I can not find this file. Could you please upload it?

.txt and .npy file required

I did not find any .txt and .npy file in your dataset that has been used in program. Can you please help me with this?

Dataset

Can you please provide the data set?

one question about train.py

I really appreciate your work. When I read the code, I found a few puzzles.
Firstly, what do those 2 lines of code mean? (About 70 lines in train.py)
train_labels[count, 0] = (np.where(identities == i[0]))[0][0]
train_labels[count, 1] = (np.where(identities == i[2]))[0][0]
Secondly, I can't find this file untied_softmax_weighted_error_33_33_33_lagmul_0.2_aug.h5(about 215 lines in train.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.