Skip to content

Homagn/mlfactory

Repository files navigation

About

mlfactory is a simple modular wrapper library that abstracts several different types of neural network architectures and techniques for computer vision (pytorch and tensorflow backend) providing seemless easy to use training in a few lines of code.

Using the standard modular philosophy you can also define your own neural network in pytorch/tensorflow, and if youre lazy to write the data loaders or the training loop then pass the network to our submodules !, or vice versa.

Table of contents

Getting Started

pip install mlfactory

Out of box colab usage

Machine Learning and AI applications full pipeline

  1. High definition mapping using monocular camera (using monocular depth estimation and superglue feature extractor)
  1. Simple and fast visual odometry directly from MOV files and output pose trajectory in open3d

Compose machine learning applications in a modular way

  1. (NYUV2 dataloader) Easy monocular depth estimation
  1. Finetune deeplabv3 for any general binary segmentation using less than 100 samples

Annotation and other computer vision utilities

  1. Polygon annotation tool allowing to create polygon masks for segmentation directly in colab
  1. Easy usage of superglue neural network based image feature matching
  1. Easy usage of holistically nested edge detection for generic high level edge detection

More examples and use cases

Upcoming

  • applications/multiview_sba_recon integrate with the pip project as a functionality by creating demo in examples/ folder

  • integrate the photometric bundle adjustment part of applications/multiview_sba_recon in deep_modular_reconstruction module

  • after integrating applications/multiview_sba_recon use it to input estimated poses to construct nerfs (pytorch)

  • examples/variational_encoders/main_b.py, integrate variational encoders with the pip project and remove results folder in it taking up space

  • examples/behavior_cloning/train_latent_gpt.py , test_latent_gpt.py integrate with the pip project

  • behavior transformers and using GPT - https://github.com/notmahi/bet and https://github.com/notmahi/miniBET

  • base transformer model definition + segformer model definitions pytorch

  • diffusion models from scratch pytorch

  • MIRnet keras for low light image enhancement - https://keras.io/examples/vision/mirnet/

  • SRGAN for image superresolution - https://github.com/sgrvinod/a-PyTorch-Tutorial-to-Super-Resolution

  • differentiable pointcloud generation models - https://github.com/puhsu/point-clouds

  • image animation generation models - https://github.com/snap-research/articulated-animation (code cloned in /ml/misctools/articulated-animation/, run the working demo-> demo_outofbox.py)

  • FCOSnet pytorch - https://github.com/VectXmy/FCOS.Pytorch

  • dataloader for ouster lidar datasets

  • Coco bounding box dataloader colab

  • tum_rgbd dataloader

  • Resnet finetunining module for 2D image regregression (pose estimation example)

About

A library of general purpose machine learning modules and applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages