Git Product home page Git Product logo

lls-ddfa's Introduction

Unsupervised Learning under Latent Label Shift

A new approach to unsupervised learning leveraging domain structure and invariance.

NOTE: this is a deprecated repository. Look for all future updates at this repo on the ACMI Lab Github.

Figure 1

Arxiv

Paper as Roberts*, Mani*, Garg, and Lipton.

ICML 2022 SCIS Workshop

Paper as Mani*, Roberts*, Garg, and Lipton.

SlidesLive Poster Session Video

Authors

Pranav Mani*1 [email protected]

Manley Roberts*1 [email protected]

Saurabh Garg1 [email protected]

Zachary C. Lipton1 [email protected]

*: Denotes equal contribution 1: Machine Learning Department, Carnegie Mellon University

Use Instructions

  • Install a recent version of Python 3 (we used Python 3.10.4).
  • pip install -r requirements.txt
  • You may receive errors for Pillow installation, if so follow instructions here: https://pillow.readthedocs.io/en/latest/installation.html
  • Install ImageNet by the instructions at https://www.image-net.org/download.php and replace 'root folder' in ImageNet and ImageNetSubset classes in dataset.py with the root folder of the installation (one level above the train/validation split folders). The test dataset we use is composed of the validation dataset from ImageNet, the validation dataset is split out of the train dataset of ImageNet.
  • Details on downloading the FieldGuide dataset can be found here https://sites.google.com/view/fgvc6/competitions/butterflies-moths-2019. Extract images from training.rar into '~/FieldGuideAllImagesDownload/'. Then run ./data_utils/create_FieldGuide_directories.ipynb to create the FieldGuide-28 and FieldGuide-2 train, val and test directories.
  • Starting on line 215 of experiment_runner.py, replace "project" and "entity" with the appropriate project and entity for WandB.
  • From https://github.com/wvangansbeke/Unsupervised-Classification, download CIFAR-10 SCAN Loss, CIFAR-100 SCAN Loss, and Imagenet-50 SCAN Loss pth.tar files into ./pretrain/scan_cifar_pretrain/ and ./pretrain/scan_imagenet_pretrain/, depending on the dataset.

Attributions

Attributions are available in LICENSE_ATTRIBUTION

lls-ddfa's People

Contributors

manleyroberts avatar

Stargazers

Sayna Ebrahimi avatar Daniel Zeiberg avatar Rodo Lillo avatar

Watchers

James Cloos 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.