All Projects → ishay2b → Vanillacnn

ishay2b / Vanillacnn

Implementation of the Vanilla CNN described in the paper: Yue Wu and Tal Hassner, "Facial Landmark Detection with Tweaked Convolutional Neural Networks", arXiv preprint arXiv:1511.04031, 12 Nov. 2015. See project page for more information about this project. http://www.openu.ac.il/home/hassner/projects/tcnn_landmarks/ Written by Ishay Tubi : ishay2b [at] gmail [dot] com https://www.l

Projects that are alternatives of or similar to Vanillacnn

Beginners Pytorch Deep Learning
Repository for scripts and notebooks from the book: Programming PyTorch for Deep Learning
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Bet On Sibyl
Machine Learning Model for Sport Predictions (Football, Basketball, Baseball, Hockey, Soccer & Tennis)
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Statistical Learning Method Camp
统计学习方法训练营课程作业及答案,视频笔记在线阅读地址:https://relph1119.github.io/statistical-learning-method-camp
Stars: ✭ 191 (+0%)
Mutual labels:  jupyter-notebook
Thinkdsp
Think DSP: Digital Signal Processing in Python, by Allen B. Downey.
Stars: ✭ 2,485 (+1201.05%)
Mutual labels:  jupyter-notebook
Dl4mir
Deep learning for MIR
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Cnn Re Tf
Convolutional Neural Network for Multi-label Multi-instance Relation Extraction in Tensorflow
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Germanwordembeddings
Toolkit to obtain and preprocess german corpora, train models using word2vec (gensim) and evaluate them with generated testsets
Stars: ✭ 189 (-1.05%)
Mutual labels:  jupyter-notebook
Magic
MAGIC (Markov Affinity-based Graph Imputation of Cells), is a method for imputing missing values restoring structure of large biological datasets.
Stars: ✭ 189 (-1.05%)
Mutual labels:  jupyter-notebook
Adversarialvariationalbayes
This repository contains the code to reproduce the core results from the paper "Adversarial Variational Bayes: Unifying Variational Autoencoders and Generative Adversarial Networks".
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Self driving car specialization
Assignments and notes for the Self Driving Cars course offered by University of Toronto on Coursera
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Tianchi Diabetes Top12
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Hyperdash Sdk Py
Official Python SDK for Hyperdash
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Deep Learning Paper Review And Practice
꼼꼼한 딥러닝 논문 리뷰와 코드 실습
Stars: ✭ 184 (-3.66%)
Mutual labels:  jupyter-notebook
Seldon Core
An MLOps framework to package, deploy, monitor and manage thousands of production machine learning models
Stars: ✭ 2,815 (+1373.82%)
Mutual labels:  jupyter-notebook
Feature Engineering
Stars: ✭ 191 (+0%)
Mutual labels:  jupyter-notebook
Deep Learning With Tensorflow 2 And Keras
Deep Learning with TensorFlow 2 and Keras, published by Packt
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Personal
Contains Jupyter Notebooks of stuff I am working on.
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Pydata Cookbook
PyData Cookbook Project
Stars: ✭ 191 (+0%)
Mutual labels:  jupyter-notebook
Teachopencadd
TeachOpenCADD: a teaching platform for computer-aided drug design (CADD) using open source packages and data
Stars: ✭ 190 (-0.52%)
Mutual labels:  jupyter-notebook
Deep Learning Notes
My personal notes, presentations, and notebooks on everything Deep Learning.
Stars: ✭ 191 (+0%)
Mutual labels:  jupyter-notebook

Implementation of the Vanilla CNN described in the paper Yue Wu and Tal Hassner, "Facial Landmark Detection with Tweaked Convolutional Neural Networks", arXiv preprint arXiv:1511.04031, 12 Nov. 2015. See project page for more information about this project. http://www.openu.ac.il/home/hassner/projects/tcnn_landmarks/

Written by Ishay Tubi : ishay2b [at] gmail [dot] com https://www.linkedin.com/in/ishay2b

This software is provided as is, without any warranty, with no legal constraints. The data is provided to allow easy deployment, is it not mine, a link to the original owners of the data is provided.

=============================================== Prerequisites:

Caffe, Python, Numpy, dlib

=============================================== Environment variables

To run the code on OSX (i.e. anaconda python), where ROOT means repository main folder export PYTHONPATH=$(ROOT):$PYTHONPATH export PYTHONHOME=/Applications/anaconda # To resolve issues running python layers from command line.

=============================================== Paths needed in PYTHONPATH

CAFFE_ROOT the path to the caffe distribute folder. CAFFE_ROOT+"/python" will be added to PYTHONPATH DLIB_ROOT - Dlib’s python module - if not already in PYTHONPATH. ROOT is the git main path.

=============================================== How to run this script? use mainLoop.py

To run all steps assign STEPS with FULL_STEPS: STEPS = FULL_STEPS

Or run a partial script like this: STEPS = ['testset']

The steps needed to run:

  1. Calculate train data mean matrix or load already calculated trainMean.png.
  2. Calculate train data std matrix or load already calculated trainSTD.png.
  3. Create train set hdf.
  4. Create test set hdf.
  5. Train from random initialization by running this command from ROOT path, dump both stdout and error to log.txt: caffe.bin train -caffeData/solver solver_adam_vanilla.prototxt >>log.txt 2>&1
  6. Plot the error by parsing the log (from ROOT directory): python python/parseLog.py log.txt
  7. Create benchmarks once using STEPS=['createAFLW_TestSet', 'createAFW_TestSet']
  8. Run benchmarks test by: STEPS=['testAFW_TestSet', 'testAFLW_TestSet']

=============================================== Main functions used

BBox - generic box class with helpers. ErrorAcum - accumulates the error DataRow is a class with landmarks, image and parsed from CSV. Can accept bounding box and crop/scale to desired size. createDataRowsFromCSV - translates CSV file into a list of DataRow. Passing the CSV parser as a parameter for each format. Predictor - a wrapper for caffe network. Call predictor.preprocess() to get image subtracted by mean and divided by std image. Also returns the landmarks scaled -0.5..+0.5.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].