Giter Site home page Giter Site logo

ibla's Introduction

IBLA - Imbalance Learning Archive

๐Ÿ””๐Ÿ””๐Ÿ”” This project is shutdown owing to a very bad coding architecture, the new version of this project will be release soon.

Setup

Environment

Create a virtual environment and upgrade the version of pip

python3 -m venv .env
source .env/bin/activate
python -m pip install -U pip

Install the required packages

cd /path/to/cloned/repo/directory
pip install -r requirements.txt

Install Pytorch packages, the version of the Nvidia driver is 535 and the CUDA version is 12.1 on a Ubuntu-based system

pip3 install torch torchvision torchaudio

Dataset

Contribute to this project

Folder Structure

  • dataset
    • [ds].py where ds is any dataset name
    • getds.py used as a mapping from args to a dataset
  • loss
    • [loss].py where loss is any loss name
  • metrics
    • [metric].py where metric is any metric name
  • model
    • [model_name]
      • *.py
  • utils
  • main.py
  • mapping.py
  • requirements.txt
  • trainer.py

Dataset Contribution

  • Data sources and related annotations must be put into dataset/source folder, which is an ignored folder. A custom dataset class inheriting torch.utils.data.Dataset of Pytorch and read all data from dataset/source.
  • โš ๏ธโš ๏ธ: Do not change the content of any file inside dataset/, just create a new .py file to contribute your custom dataset.

Model/Loss Contribution

  • Create a new folder/new file .py to store your model architecture/loss function and its sub-components
  • โš ๏ธโš ๏ธ: Do not change the content of any file inside model/ and loss/

Workflow

  • For collaborators, create a new branch with the name as follows: <task>-<name> (i.e. model_deeplabv3) and then pull a request to merge to branch main.
  • For outer collaborators, fork this repo, and then pull a request also.
  • For review the pull request, you can tag the owner of this repo, the owner will merge and complete the final task to emerge your contribution thoroughly.

Citation

ibla's People

Contributors

khoidoo avatar mt-chuyen avatar skydvn avatar nguyenduongz avatar bbeeht avatar denghuyn avatar khanhly239 avatar

Watchers

Kostas Georgiou avatar  avatar

ibla's Issues

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.