Coder Social home page Coder Social logo

warvyvr / fabrik Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cloud-cv/fabrik

0.0 1.0 0.0 8.48 MB

:factory: Collaboratively build, visualize, and design neural nets in browser

Home Page: http://fabrik.cloudcv.org

License: GNU General Public License v3.0

Python 60.58% CSS 2.79% JavaScript 36.09% HTML 0.19% Shell 0.35%

fabrik's Introduction

Join the chat at https://gitter.im/Cloud-CV/Fabrik Build Status Coverage Status

Fabrik is an online collaborative platform to build, visualize and train deep learning models via a simple drag-and-drop interface. It allows researchers to collaboratively develop and debug models using a web GUI that supports importing, editing and exporting networks written in widely popular frameworks like Caffe, Keras, and TensorFlow.

This app is presently under active development and we welcome contributions. Please check out our issues thread to find things to work on, or ping us on Gitter.

How to setup

  1. First set up a virtualenv

    sudo apt-get install python-pip python-dev python-virtualenv 
    virtualenv --system-site-packages ~/Fabrik
    source ~/Fabrik/bin/activate
    
  2. Clone the repository

    git clone --recursive https://github.com/Cloud-CV/Fabrik.git
    
  3. If you have Caffe, Keras and Tensorflow already installed on your computer, skip this step

    • For Linux users
      cd Fabrik/requirements
      yes Y | sh caffe_tensorflow_keras_install.sh
      
      Open your ~/.bashrc file and append this line at the end
      export PYTHONPATH=~/caffe/caffe/python:$PYTHONPATH
      
      Save, exit and then run
      source ~/.bash_profile
      cd .. 
      
    • For Mac users
  4. Install dependencies

  • For developers:
    pip install -r requirements/dev.txt
    
  • Others:
    pip install -r requirements/common.txt
    
  1. Install postgres >= 9.5
  • Setup postgres database

    • Start postgresql by typing sudo service postgresql start
    • Now login as user postgres by running sudo -u postgres psql and type the commands below
      CREATE DATABASE fabrik;
      CREATE USER admin WITH PASSWORD 'fabrik';
      ALTER ROLE admin SET client_encoding TO 'utf8';
      ALTER ROLE admin SET default_transaction_isolation TO 'read committed';
      ALTER ROLE admin SET timezone TO 'UTC';
      ALTER USER admin CREATEDB;
    
    • Exit psql by typing in \q and hitting enter.
  • Migrate

    
    python manage.py makemigrations caffe_app
    python manage.py migrate
    
  1. Install node modules
npm install
sudo npm install -g webpack
webpack --progress --watch --colors

Usage

KERAS_BACKEND=theano python manage.py runserver

Example

  • Use example/tensorflow/GoogleNet.pbtxt for tensorflow import
  • Use example/caffe/GoogleNet.prototxt for caffe import
  • Use example/keras/vgg16.json for keras import

Documentation

License

This software is licensed under GNU GPLv3. Please see the included License file. All external libraries, if modified, will be mentioned below explicitly.

fabrik's People

Contributors

adamstafa avatar arun-jain avatar atharvakhare avatar chloeeggleston avatar deshraj avatar dexter1691 avatar gauravgupta22 avatar gautamjajoo avatar gitter-badger avatar goodluckday avatar idealadarsh avatar jinsu-l avatar jpjpjpopop avatar kapilkd13 avatar nchhaj189 avatar omarito2412 avatar owenl131 avatar palashtanejapro avatar pavan-simplr avatar ram81 avatar rishabhjain2018 avatar souravsingh avatar tendstofortytwo avatar thatbrguy avatar utsavgarg avatar virajprabhu avatar vpn1997 avatar yusrilia avatar

Watchers

 avatar

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.