hjamet / Epita-S9-DNN

2 stars 0 forks source link

Epita-S9-DNN

Description

This repository presents the project I carried out at Epita in the SCIA 2023 major for the DNN (Deep Neural Network) subject.

The aim of this project is to re-implement the main innovative points presented by a research paper.

Work done

My work is on the paper: Axiomatic Attribution for Deep Neural Networks.

It is divided into 3 parts:

Installation

Just create a venv, install requirements and run the notebooks from the root directory.

We recommend using pyenv to manage your python versions and poetry to manage your virtual environments

> pyenv install 3.9.7
> pyenv shell 3.9.7
> poetry install
> poetry shell

In case of problem

Try the following :

> pyenv install 3.9.7
> pyenv shell 3.9.7
> rm -rf .venv poetry.lock
> cp .poetry.lock poetry.lock
> poetry install
> poetry shell

Alternatively you can use python's venv module

We are assuming you have python 3.9.7 installed !

> python -m venv env
> source env/bin/activate
> python -m pip install -r requirements.txt
> python src/main.py

Repository Convention & Architecture

Architecture

Convention

Of course, anyone who doesn't follow these rules, arbitrarily written by a tyrannical mind, is subject to judgmental looks, cookie embargoes and denunciatory messages with angry animal emojis.