Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Repository of OpenClassrooms' AI Engineer path, project #8 : segmentation of dashcam images to help the driving algorithm understand the vehicle's environment

License

Notifications You must be signed in to change notification settings

fleuryc/OC_AI-Engineer_P8_Design-an-autonomous-vehicle

Python application CodeQL Codacy Security Scan Codacy Badge Codacy Badge


Future Vision Transport : Design an Autonomous Vehicle

Repository of OpenClassrooms' AI Engineer path, project #8

Goal : use Azure Machine Learning services, Computer Vision techniques and Deep Neural Network models, to perform urban street scene images segmentation.

You can see the results here :

Goals

Installation

Prerequisites

Virtual environment

# python -m venv env
# > or just :
make venv
source env/bin/activate

Dependencies

# pip install jupyterlab ipykernel ipywidgets widgetsnbextension graphviz python-dotenv requests mlflow azureml-core azureml-defaults azureml-sdk azureml-dataset-runtime azureml-mlflow matplotlib numpy statsmodels pandas sklearn tensorflow pyspark opencv-python-headless albumentations Pillow
# > or :
# pip install -r requirements.txt
# > or just :
make install

Environment variables

  • Set environment variable values in .env file.

Azure resources

Usage

Download data

Download, extract and upload to Azure Cityscape zip files.

make dataset

Deploy webapp

Deploy the content of webapp directory to Azure App Service.

Run Notebooks

Quality Assurance

# make isort
# make format
# make lint
# make bandit
# make mypy
# make test
# > or just :
make qa

Troubleshooting

  • Fix Plotly issues with JupyterLab

cf. Plotly troubleshooting

jupyter labextension install jupyterlab-plotly
  • If using Jupyter Notebook instead of JupyterLab, uncomment the following lines in the notebook
import plotly.io as pio
pio.renderers.default='notebook'

About

Repository of OpenClassrooms' AI Engineer path, project #8 : segmentation of dashcam images to help the driving algorithm understand the vehicle's environment

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project