Giter Site home page Giter Site logo

mala-lab / cocl Goto Github PK

View Code? Open in Web Editor NEW
12.0 0.0 2.0 2.83 MB

Official implementation for "Out-of-Distribution Detection in Long-Tailed Recognition with Calibrated Outlier Class Learning" (AAAI'24)

License: Apache License 2.0

Python 100.00%
long-tailed-recognition out-of-distribution-detection imbalanced-learning

cocl's Issues

results different from paper

Hello, I trained cifar10-lt and cifar100-lt with the default parameters in the code, but the results I obtained are quite different from those in the paper.
Could you please tell me how can I achieve the results in the paper? Could you provide your commands, or are there any other parameters or settings that need to be noted?
This is what I used for training:

  • train:python train.py --gpu 0 --ds cifar100 --Lambda1 0.05 --Lambda2 0.05 --Lambda3 0.1 --drp ../long-tailed-ood-detection/SCOOD_dataset/data/images --srp ./checkpoints
  • test:'python test.py --gpu 0 --ds cifar100 --dout shvn --drp ../long-tailed-ood-detection/SCOOD_dataset/data/images --ckpt_path ./checkpoints/cifar100-0.01-OOD300000/ResNet18/e100-b128-256-adam-lr0.001-wd0.0005_Lambda10.05-Lambda20.05-Lambda30.1/replay3'
    and this is the result i got:
    Snipaste_2024-05-16_19-26-40

some question about the use of ood samples

Hi, thank you for your great work~ I have a few questions regarding my understanding of the paper:
1.According to Figure 1, I understand that auxiliary OOD data are also used during training, similar to outlier exposure, is that correct?
2.In the "Debiased Large Margin Learning Calibration" module, the schematic diagram does not illustrate the operation of pulling OOD categories. However, the text mentions "since we have already pulled OOD samples together in the joint LTR and outlier class learning in Eq. 2", does this mean there is an operation to pull the entire OOD category?
If so, considering that OOD data have diverse categories and their distribution is theoretically unknown, how can we ensure they cluster together in the feature space?

I would greatly appreciate it if you could provide some clarification.

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.