Code Monkey home page Code Monkey logo

swm-ml's Introduction

Machine Learning for Solid Waste Management

Install Anaconda Python 3:

Install Needed Extra Libraries:

  • pip install --upgrade google-api-python-client
  • pip install boto3
  • pip install awscli --upgrade --user

Install Docker and the caffe docker image:

  • sudo apt-get install docker.io
  • docker run -ti bvlc/caffe:cpu caffe --version

Make sure your AWS credentials are setup:

Setup ~/.aws/credentials with your key and secret:

[default]
aws_access_key_id = YOUR_KEY
aws_secret_access_key = YOUR_SECRET

Set the default region in ~/.aws/config:

[default]
region=ap-south-1

Updating the dataset

  1. Export the Google Drive Spreadsheet as a csv file
  2. Run ./process-csv csv-file-name
  3. Run ./package-dataset output-folder-path

Use the flag -f to force syncing with Google drive otherwise cached local copies will be used if available.

Downloading and Packaging the Dataset

  1. Run ./package-dataset directory-to-store-tarball

This will create a folder in your home directory called 'swm-ml-dataset' and save a tarball to the folder you specify.

Extracting Caffe Features

  1. sudo docker run -ti -v ~/swm-ml-dataset/images:/opt/caffe/swm-ml-dataset -v /home/ubuntu/swm-ml:/opt/caffe/swm-ml bvlc/caffe:cpu /bin/bash

Authors

swm-ml's People

Contributors

mkac avatar

Watchers

James Cloos avatar Murali avatar Manu Srivastava avatar  avatar  avatar  avatar

Forkers

talele08

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.