Giter Club home page Giter Club logo

fish's People

Contributors

yugeten 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  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  avatar  avatar

Watchers

 avatar  avatar  avatar

fish's Issues

Error in training on cdsprites with ERM

There is a filter of the indices that selects only latents[:, 0] != 3.

fish/src/models/datasets.py

Lines 266 to 271 in 333efa2

if split=='val':
self.latents = self.latents[domain_indices[-2]]
self.images = self.images[domain_indices[-2]]
elif split=='test':
self.latents = self.latents[domain_indices[-1]]
self.images = self.images[domain_indices[-1]]

In the code above, this condition is applied on val and test, but not on train. This results in an error in training with ERM. Could you provide the correct way to perform ERM on cdsprites?

Thanks.

Domain Sampling Issue during Reproducing Results in Civil

Hi fish authors,

Thanks for the nice work!

However, when I was trying to reproduce results in civilcomments using the current code, it seems there was a bug regarding sample_domains in train_fish. Specifically, a RuntimeError was encountered in get_batch and it's said stack expects a non-empty TensorList. After looking into the sampled domains, it seems some domains with 1 batch left were sampled while there was no batch_index actually.

Could you help look into this issue? Thank you very much.

Best, Andrew

Question about model selection for the evaluation in FMoW-wilds

Hi Fish authors,

Thanks for the nice work! When I was trying to reproduce the results of Fish in FMoW-wilds, I found the function save_best_model (code) always saves the last epoch model. It seems Fish would use the last epoch model selection instead of selecting the models according to the validation performance, which appears to be different from the wilds evaluation protocol (I also failed to find a corresponding description in the paper).

Maybe I missed something, could you help look into this problem? Thank you very much ๐Ÿ˜„.

Best, Andrew

Question About proof for theorem 3.1

Hi, I am a reader of your paper~ And I'm so intrigued by your paper, it inspired me a lot. But I have an question about how to comprehend theorem 3.1.

image

I think this is an excellent proof, but I have an question about how to comprehend this:
if alpha(inner loop learning rate) is 0 instead of approaching 0, this limit will not be 1, it will be 0.
So when alpha approaches 0, this limit is 1. But when alpha is exactly 0, this limit is 0. How to comprehend this kind of "discontinuity"? Which step in this proof cause this "discontinuity?"

DomainBed results with "oracle" model selection

Congratulations for this really interesting work.
I was wondering whether you could provide the DomainBed results, but with the best hyper-parameter chosen on a validation dataset from the test domain (i.e the oracle model selection).
That would be of great help to include your paper as a new comparable approach in upcoming papers.
Best regards
Alexandre

The results on the OfficeHome dataset.

Hi, I tried running your code on domainbed and got only 55% average accuracy on the officehome dataset. You reported 58% in your paper, I was wondering if you tested the performance of the open source code on this dataset. Is there something wrong with this code?

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.