Giter Club home page Giter Club logo

openvino-jurassic's Introduction

Jurassic

Preparation steps units 00 to 08:

Clone the repository

First, we download all the code and some of the pre-trained sample models and dataset from Github.

mkdir JurassicDemo
cd JurassicDemo
git clone https://github.com/IntelSoftware/Jurassic.git

On DevCloud:

cd JurassicDemo/Jurassic
. prepJurassic.sh

Download the Training Dataset

This will download the training dataset. This is required to run the training and more!

On Local Machine

cd Jurassic
wget -O data.zip "https://www.dropbox.com/s/ihkbox8vqksb2ii/data.zip" && unzip data.zip
wget -O models.zip "https://www.dropbox.com/s/tj8j6infag4sfcf/models.zip" && unzip models.zip

unzip data.zip
unzip models.zip

NOTE Please complete the two learning units 2 (tabular clustering and classification) and 7 (PyTroch version of resnet18). Feel free to take unit 9 (accelerating inference) using OpenVINO as a homework exercise for the sake of time!


Preparation steps units 09:

The prepJurassic.sh contains the detailed steps for DevCloud but similar steps for local are needed to be carried out manually.

Install OpenVINO on Local Machine (required for running exercise #9 )

Please see Installation Guide for OpenVINO pre-requisites and requirements. We recommend Python 3.7 on Windows for quick setup. On Linux, please do follow the (Linux GPU Driver Installation)[openvinotoolkit/openvino_notebooks#540] to ensure your system will work with iGPU.

This installation step install OpenVINO 2022.1 with PyTorch, and Jupyter Lab. Please ensure you use the virtual environment to avoid dependencies conflicts.

OpenVINO on DevCloud:

The prepJurassic.sh has performed these steps already

conda create --clone pytorch --name openvinopytorch
conda activate openvinopytorch
~/.conda/envs/openvinopytorch/bin/pip install --user openvino-dev[pytorch]
python -m ipykernel install --user --name openvinopytorch
pip install -r requirements_openvino.txt

OpenVINO on Windows

cd Jurassic
python -m venv openvino_env
.\openvino_env\Scripts\activate
python -m pip install -U pip setuptools wheel
pip install -r requirements_openvino.txt

OpenVINO on Linux or Mac OS

cd Jurassic
python -m venv openvino_env
chmod -R 777 openvino_env/
./openvino_env/bin/activate
python -m pip install -U pip setuptools wheel
pip install -r requirements_openvino.txt

How to run

You can start jupyter lab either on DevCloud, or execute the following in the terminal (after installations) locally.

cd Jurassic
jupyter lab .

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.