GithubHelp home page GithubHelp logo

isabella232 / fishy-business Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure/fishy-business

0.0 0.0 0.0 102.61 MB

Fishial Recognition

Home Page: https://news.microsoft.com/en-au/features/fishy-business-putting-ai-to-work-in-australias-darwin-harbour/

Dockerfile 0.04% Makefile 0.05% Shell 0.01% Python 0.62% Batchfile 0.02% Jupyter Notebook 99.19% Cuda 0.03% C 0.04% C++ 0.01% PowerShell 0.01%

fishy-business's Introduction

Instance Segmentation Pipeline, using Mask R-CNN and PyTorch with an Azure Data Science Virtual Machine, to count fish in Baited Remote Underwater Video.

Easily create custom computer vision models to detect and mask objects in your images and video for counting, movement, shape, and proportions.

Instance Segmentation Pipeline

  1. Frame Reduction - From a video, retain only the frames consisting of the visual content you're interested in, using the Cognitive Services, Scene and Activity Recognition Service.
  2. Frame Annotation - Annotate frames using VGG Image Annotator, COCO Annotation UI, Labelbox or another image annotation tool.
  3. View Class Distribution - View the accumulation of samples per class. Extend this notebook to describe frames using custom metadata for subsetting.
  4. Prepare Training Dataset - Create Training and Validation sets using metadata to subset.
  5. View Training Dataset - View the Training and Validation sets - and right any wrongs from annotating frames - prior to model training.
  6. Model Training - Let the magic begin. Be sure to specify the Training and Validation set and initial model weights, and then experiment with different training regimes.
  7. Model Scoring
  8. Frame Proposal

Setup

  1. Create a Storage Account -

    • Add File Shares -
      • frames
      • labeledframes
      • modeltraining
      • modelweights
      • video
  2. Deploy a Data Science Virtual Machine for Linux (Ubuntu)

    • Add Inbound Port Rules -

      • FrameReductionNotebook - 8888
      • ViewClassDistributionNotebook - 8889
      • CreateMetadataNotebook - 8890
      • PrepareTrainingDatasetNotebook - 8891
      • ModelTrainingNotebook - 8892
      • ModelScoringNotebook - 8893
      • FrameProposalNotebook - 8894
    • Configure DNS Name -

      • <DNS Name Label>.australiaeast.cloudapp.azure.com
  3. Create Cognitive Services - Computer Vision Service

  4. ssh <Username>@<Public IP address>

  5. Create directories

    • /mnt/frames
    • /mnt/video/processed
    • /mnt/video/unprocessed
  6. Mount directories

    • sudo mount -t cifs //instancesegmentation.file.core.windows.net/frames /mnt/frames -o vers=3.0,username=instancesegmentation,password=,dir_mode=0777,file_mode=0777,sec=ntlmssp
    • sudo mount -t cifs //instancesegmentation.file.core.windows.net/video /mnt/video -o vers=3.0,username=instancesegmentation,password=,dir_mode=0777,file_mode=0777,sec=ntlmssp
  7. git clone https://github.com/Azure/Machine-Learning-Containers.git

  8. pip install pip==9.0.1

  9. cd /Machine-Learning-Containers/Containers/<Container Name>

  10. chmod 777 Build.sh

  11. chmod 777 Deploy.sh

  12. ./Build.sh

  13. ./Deploy.sh

  14. docker container list

  15. docker logs <Name>

  16. Copy Jupyter Notebook URL

Credits

fishy-business's People

Contributors

michhar avatar svanbodegraven 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.