Vastlab / vast

A repository for some common operations for everyone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Various Algorithms & Software Tools (VAST)

This repository contains some common functionalities used in various works from the members of the Vision And Security Technology (VAST) Lab.

Setup

For users

pip install git+https://github.com/Vastlab/vast.git

NOTE: There is an unadressed issue due to which the above install makes features like FINCH unable to end user. If you intend to use FINCH please follow the for developers instructions below.

For developers

git clone --recurse-submodules https://github.com/Vastlab/vast.git

pip install -e .[dev]

Contents:

Loss Functions

  1. Entropic Openset loss
  2. Objectosphere loss
  3. Center loss
  4. Objecto-center loss (Objectosphere + Center loss)

Network Architectures

  1. LeNet
  2. LeNet++

Openset Algorithms

  1. OpenMax
  2. Multimodal OpenMax
  3. Extreme Value Machine (EVM)

Reimplementation of libMR

This repo contains a torch based reimplementation of the libMR repo It supports GPU based computation that speeds up the processing considerably, but in certain cases the weibull parameter computation may have slight variations. Reimplementation of libMR

Tools

  1. Concatenate multiple torch datasets Useful for openset learning.
  2. Feature Extraction to HDF5 file from a specific layer of a pytorch model
  3. Multiprocessing Logger

Visualization

  1. 2D visualization e.g. features from LeNet++
  2. 3D visualization for decision planes
  3. OSRC curve plotter
  4. Histogram of scores

Evaluation

  1. OSRC curve using torch tensors and cuda operations
  2. FPR vs coverage plot
  3. Precision/Recall for binary class OOD problem
  4. F-ß Score

Unless a module has a separate license, this code is free for non-commercial use under a BSD-3 style license: We only ask that you cite one our papers, whichever paper is most appropriate from the many.

Examples

Some research works using this repo are:

Self-Supervised Features Improve Open-World Learning

MNIST Based Experiments

ImageNet Level Openset experiments

About

A repository for some common operations for everyone

License:Other


Languages

Language:Python 94.1%Language:Shell 5.9%