Giter Club home page Giter Club logo

rotta's Issues

预训练模型

作者你好,我下载好预训练模型之后,重新运行代码还是会自动下载预训练模型,然后导致代码运行失败,请问这是什么原因造成的呢,以下是我文件存放的形式
截图 2024-03-28 18-17-32

DomainNet dataset.

Hey Longhui,

I am happy to see you release the code of CIFAR10 and CIFAR100 datasets, but there is still a little pity that I cannot see the implementation in DomainNet dataset, which is mentioned in your paper. Could you release the code of DomainNet dataset soon? Or could you tell me how to implement it based on the existing code.

Best.
Yongyi

Question about the size of memory bank.

Hi authors,
Thanks for your code! My question is:
Is the size of memory bank always be 64 and keep the same with bsz?
If so, when the number of categories are large (like CIFAR-100-C or ImageNet-C), CSTU would frequently discard previous data (according to Algorithm1 line5-9), and is it randomly discard previous data?

question about configure_model function

From what I understand, the ROTTA method seems to have a teacher-student structure like the COTTA method, and weight updates should occur not only for batchnorm weights but also for the overall weights. However, in the actual implementation, such as in the configure_model function, only batchnorm weights are updated. Am I correct in understanding it according to the implementation?

torchvision版本问题

作者你好,
ImportError: cannot import name 'Conv2dNormActivation' from 'torchvision.ops.misc'我在运行代码时会出现这个错误,但是我的torchvision版本和项目中给出的完全一致,非常感谢作者的解答

Target stats in Robust BatchNorm Layer

Hello, I was wondering what is the purpose of target_mean and target_var line 18 and 19 in the bn_layers.py file: https://github.com/BIT-DA/RoTTA/blob/67e34c900cdd355fc07e55edd4c577ea7b8ebcc9/core/utils/bn_layers.py#L18

It seems that these variables are not used. Same for current_mu and current_sigma.

Additionally could you give more details on how the behavior of the Robust Batch Norm differs from the one of the normal Batch Norm (which also update its stats with moving average).

Great work by the way!

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.