Code Monkey home page Code Monkey logo

iomatch's People

Contributors

nukezil avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

iomatch's Issues

The open-set evaluation

Thanks for your excellent work and the code!
I am trying to run the IOMatch, and I found the current code only provides accuracy on the close-set test set.
Could you please tell me how to evaluate on the open-set test set using this code?

Inquiry about the model parameters for Open-Set SSL baselines

Hi! Thanks for your remarkable work and the meticulously crafted open-source code. Your efforts are truly appreciated.

I'm reaching out to inquire about the model parameters for Open-Set SSL baselines. Currently, as we follow your experimental setting, we are suggested to compare the AUROC for both seen and unseen outliers.

[ICCV 2023] SSB: Simple but Strong Baseline for Boosting Performance of Open-Set Semi-Supervised Learning [PDF] [Code]

A concurrent work SSB has shown that OpenMatch and T2T can acchieve fair performance in both inliers classification and outliers detection, as depicted in the following Table A. However, these findings seem to contradict the data presented in the IOMatch report in the following Table B. Upon closer examination, it's evident that there are notable differences in evaluation protocols, as summarized in the following Table C.

Table A: SSB-reported data for OpenMatch and T2T, borrowing data from SSB in Table 8, 15, 16. (CIFAR-10, Inlier/outlier: 6/4, lables per samples: 25)

method accuracy (%) for inliers AUROC (%) for all outliers AUROC (%) for seen outliers AUROC (%) for unseen outliers
OpenMatch 54.88±2.33 53.32±4.62 62.46±4.19 44.18±5.05
T2T 83.21±0.98 44.79±17.26 34.90±27.50 54.68±7.01

Table B: IOMatch-reported data OpenMatch and T2T, borrowing data from IOMatch in Table 1, 2, 6. (CIFAR-10, Inlier/outlier: 6/4, lables per samples: 25)

method recall rate for seen-class test balanced accuracy for open-set test balanced accuracy for inter-dataset open-set test
OpenMatch 43.63 ± 3.26 14.37 ± 0.05 20.31 ± 3.49
T2T 73.89 ± 1.55 50.57 ± 0.38 61.78 ± 0.89

Table C: Comparsion between SSB and IOMatch in evaluation protocols, where "I" indicates inliers, "SO" indicates seen outliers, "UO" indicates unseen outliers, "ALL={CIFAR10, CIFAR100, ImageNet, SVHN, LSUN}"

method test set unseen outlier test set evaluation metric
IOMatch 3 cases: {I}/{I,SO}/{I,SO,UO} SVHN, LSUN, synthetic Gaussian and uniform noise images recall for {I} case, averaged K+1 recall for {I,SO}/{I,SO,UO} case
SSB only 1 cases: {I,SO,UO} remove corresponding train set from ALL accuracy for I, AUROC for SO+UO/SO/UO

Nevertheless, we're expected to verify their performance under aligned evaluation protocols. Could you kindly provide the parameters for all your well-trained Open-Set SSL baseline models, including UASD, DS3L, MTCF, T2T, OpenMatch, and SAFE-STUDENT, for CIFAR10, CIFAR100, and IMAGENET30 datasets?

Given that your IOMatch is the first work to propose such a challenging experiment setting under labeled data scarcity, sharing these baseline model parameters will be greatly beneficial for the community to better follow your work.

Many thanks in advance! Looking forward to your reply.

Implementation of ImageNet-30

Hello, thanks for the interesting work and code. I am trying to run the ImageNet-30, which however is not included in the current version. Could you kindly share the yaml files or some detailed hyper-parameters?

The open-set evaluation for openmatch

Thanks for your excellent work and providing the code!
I'm trying to run IOMatch and found that you provided the open-set test code for IOMatch. Could you please provide the open-set test code for OpenMatch?

some error with ruamel.yaml 0.18.5

The vision of ruamel.yaml in conda:
ruamel.yaml 0.18.5
ruamel.yaml.clib 0.2.8

The error info is:

Traceback (most recent call last):
  File "train.py", line 284, in <module>
    args = get_config()
  File "train.py", line 136, in get_config
    over_write_args_from_file(args, args.c)
  File "/hy-tmp/IOMatch/semilearn/core/utils/misc.py", line 23, in over_write_args_from_file
    dic = yaml.load(f.read(), Loader=yaml.Loader)
  File "/usr/local/miniconda3/envs/iomatch/lib/python3.8/site-packages/ruamel/yaml/main.py", line 1085, in load
    error_deprecation('load', 'load', arg=_error_dep_arg, comment=_error_dep_comment)
  File "/usr/local/miniconda3/envs/iomatch/lib/python3.8/site-packages/ruamel/yaml/main.py", line 1037, in error_deprecation
    raise AttributeError(s)
AttributeError: 
"load()" has been removed, use

  yaml = YAML(typ='rt')
  yaml.load(...)

and register any classes that you use, or check the tag attribute on the loaded data,
instead of file "/hy-tmp/IOMatch/semilearn/core/utils/misc.py", line 23

        dic = yaml.load(f.read(), Loader=yaml.Loader)

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.