Code Monkey home page Code Monkey logo

pxl_ml_docker_v2.0_tensorflow's Introduction

PXL ML Docker v2.0 TensorFlow

This is the official PXL TensorFlow Machine Learning / Deep Learning docker development environment. The PyTorch version can be found here.

!!! Note: Do not clone this repository into a path containing a space !!!*

Docker Container Specifications

Base Environment

  • Ubuntu: 22.04
  • Python: 3.11
  • CUDA: 11.5

Libraries

Neural Network Libraries

  • Tensorflow / Keras: 2.14

Machine Learning Libraries

  • scikit-learn: 1.3.1
  • statsmodels: 0.14.0
  • prophet: 1.1.5
  • ...

Visualization Libraries

  • matplotlib: 3.8.0
  • plotly: 5.17.0
  • seaborn: 0.13.0
  • ggplot: 0.11.5
  • PDPbox: 0.3.0
  • tensorboard: 2.14.0
  • Weights & Biases: 0.15.12
  • graphviz: 0.20.1
  • ...

Deployment Libraries

  • flask: 3.0.0
  • fastapi: 0.103.2
  • onnx: 1.14.1

XAI Libraries

  • treeinterpreter
  • tf-explain
  • shap

Jupyter AI support

  • jupyter_ai: 2.6.0

(more info about installation and usage here: https://github.com/jupyterlab/jupyter-ai)

Note: This is just a snapshot of the libraries included. There are many more utilities and libraries embedded within the container.

Prerequisites

  • A UNIX-like operating system, preferably Linux. (Ubuntu 20.04+ is recommended.) or Windows with Docker Desktop installed.
  • 10.3GB free space
  • An operational docker daemon.
  • Standard Bash knowledge.

GPU

You can run the container without GPU support, but your performance (with Deep Learning frameworks) will be low.

Nvidia

If you have an Nvidia graphics card capable of running hardware accelerated graphics, follow the instructions in the guide here to install all the necessary drivers, CUDA and the Nvidia docker toolkit.

You can test GPU support by executing the following steps (after having built the container, see How to build the container):

003_start_pxl_ml_container.sh
nvidia-smi
start_jupyter

Open the TestGPU.ipynb notebook and exectute the different steps.

How to build the container

A bash script is provided to build the container, it can be executed by entering the following command:

./001_build_images.sh

How to start the container

To start the container execute the script below:

003_start_pxl_ml_container.sh

This script will check the available GPU and start the container accordingly.

To use multiple bash shells in the container, It's advised to either work with tmux or execute the script with prefix 005 from the host:

./004_attach_bash_to_ml_container.sh

Start jupyter

To start jupyter notebooks, you can use the command

start_jupyter

inside the container.

Prebuilt image

TBD

pxl_ml_docker_v2.0_tensorflow's People

Contributors

samvr-pxl avatar timdupontpxl avatar

Stargazers

 avatar  avatar

Watchers

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