• Stars
    star
    118
  • Rank 293,294 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 8 years ago
  • Updated over 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Run Caffe models in the browser using ConvNetJS

Build Status

CaffeJS

This repo is a proof of concept for porting Caffe models to the browser using a modified version of ConvNetJS (by Andrej Karpathy). It aims to help beginners to dive into Deep Neural Networks by using only a browser. Try out the ImageNet Classification using GoogleNet or the DeepDream entirely in your browser!

This work is pre-alpha and based on ConvNetJS (which is alpha), so you can imagine how much I need your help!

What's possible with CaffeJS

  • Playing around with Convolutional Neural Nets in the browser
  • Loading pretrained Deep Neural Nets entirely in JavaScript
  • Running forward and backward passes through Deep Neural Nets
  • Visualize model structure, activations and filters
  • All of this without installing any software (also running on your mobile devices)

How to run CaffeJS

Check out the project page hosted on Github which includes samples with a pretrained GoogLeNet. To run other Nets (like AlexNet, VGG or ResNet) one has to clone the repo on the local machine and download the additional model weights.

What's left to do

  • Debug and fix remaining issues with SoftMax layer
  • Implement AVE pooling backward pass
  • Implement more layers (Eltwise, Scale, BatchNorm) for ResNet
  • Evaluate weight extraction directly from *.caffemodel file (without converting to intermediate binary format)
  • Nice documentation
  • More samples (Selfie Net, Gender- and AgeNet, Facial Expression Recognition, Segmentation, etc.)
  • Write unit tests
  • Implement FilterDrawer to visualize filters
  • Auto-scale the filters and activations in the visualizations to a meaningful output dimension (seriously, 1x1 px filters are super small)

License

The software is provided under MIT license.

More Repositories

1

tfjs-onnx

Run and finetune pretrained Onnx models in the browser with GPU support via the wonderful Tensorflow.js library
TypeScript
43
star
2

angular-dchart

Extensible declarative chart library using D3.js and AngularJS (Line Chart, Histogramm, Scatterplot)
JavaScript
33
star
3

python-fs

Python FS - a pythonic file system wrapper for humans
Python
30
star
4

dev-env

Install and configure a development environment with Ansible (Ubunu 16.04 LTS)
Shell
28
star
5

demo-reversi

Reversi Game Demo with Angular and D3.js
JavaScript
8
star
6

simpy-cython

Simpy fork :: Compiled with cython
Python
8
star
7

dag-iterator

Utility tool to traverse DAG graphs in JavaScript
TypeScript
8
star
8

dchart

Extensible declarative chart library using D3.js
TypeScript
6
star
9

deeplearnjs-caffe

Run pretrained Caffe models in deeplearn.js
TypeScript
5
star
10

prototxt-parser

Parse prototxt files to JavaScript objects
TypeScript
5
star
11

is-my-mask-safe

Is my mask safe for COVID-19?
HTML
5
star
12

android-phone-tracker

tracks the GPS location, signal strength of all surrounding cells and device identifiers of an android device
Kotlin
4
star
13

pfsm

Probabilistic Finite State Machine in Python
Python
2
star
14

onnx-proto

Onnx Protobuf definition for JavaScript
Shell
2
star
15

sh-install

Collection of shell scripts for installing Linux software
Shell
2
star
16

cvsp-age-gender-classification-16

Github Repository for the Computer Vision Systems Programming lecture
Jupyter Notebook
2
star
17

pypackman

Helper tool to generate packed environments for applications
Python
1
star
18

dis-tp-pso

Distributed Intelligent Systems - TP - Evolving a “following and chain-building” behavior using PSO
C
1
star
19

gl-matrix-demo-projection

Demo of 3D to 2D projection using glMatrix and D3js
JavaScript
1
star
20

hdp-secure-sandbox

Centos 7 Vagrant Box with Ambari 2.4.0.1 and Kerberos
Shell
1
star
21

scoggle-web

Scoggle is the home of your algorithm scores. Submit, analyze and visualize your performance!
HTML
1
star