Code Monkey home page Code Monkey logo

autolens's Introduction

autolens

Purpose

Effortlessly implementation of pre-existing code from open-source Augmented ML and Automated ML tools that support image classification tasks

Usage

This project can be both used as a library and CLI tool.

Dataset preparation

  • Main folder with sub-folders, each named with an integer number

Library Setup

  • clone repo: git clone https://github.com/AnaMiguelRodrigues1/autolens.git
  • move to the root of the project
  • install the library: python3.9 setup.py install
  • install python virtual environment on the root folder: python -m venv {automl_tool}_venv
  • run source -m {automl_tool}_venv/bin/activate
from autolens.LUDWIG.run import main #prior selection of automl tool

main(
    "../../chest_xray/", #dataset path 
    1, #bigger steps for less computational resources
    (255, 255), #target size
    0.2, #size of testing dataset
    0.1 #size of validation dataset
)

CLI Interaction

  • clone repo: git clone https://github.com/AnaMiguelRodrigues1/autolens.git
  • move to the root of the project
python3.9 autolens.py "ludwig" "../../chest_xray"
  --target_size "(255, 255)"
  --test_percentage "0.2"
  --val_percentage "0.1"
  --clean_metadata "store_true"
  --cache_dir "{home_dir}/.cache/autolens"

Configuration Details

S.F. - Supported Framework I.S. - Interface Solutions Lang. - Programming Language O.S. - Operative System

Fastai v2.7.12 Ktrain v0.37.2 Ludwig v0.8.1.post1 Autogluon1 v0.8.2 Autokeras v1.1.0
S.F. Pytorch v1.13.1 Tensorflow v2.11 Tensorflow2 Pytorch v1.13.1 Tensorflow v>=2.8.03
I.S. API API API/CLI API API
Lang. Python v3.7-v3.10 Python v3.6-v3.10 Python v>=3.8 Python v3.8-v3.10 Python v3.8-v3.11
O.S. Linux, Windows Linux Linux, Windows Linux, Windows4 Linux, Windows5, MacOS

More Information

Footnotes

  1. Uses Fastai as one of the installation requirements.

  2. Uses Tensorboard v2.14, a visualization toolkit from Tensorflow.

  3. Tensorflow v2.9.1 most compatible with the remaining dependencies.

  4. Advisable to use Anaconda.

  5. Requires Microsoft Visual C++ and v>7.

autolens's People

Contributors

anamiguelrodrigues1 avatar t-almeida avatar

Stargazers

 avatar

Watchers

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