Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert error in new wilds version with FMoW #135

Closed
mitchellnw opened this issue Sep 15, 2022 · 5 comments
Closed

assert error in new wilds version with FMoW #135

mitchellnw opened this issue Sep 15, 2022 · 5 comments

Comments

@mitchellnw
Copy link

Hello, I am using the new version of WILDS and getting the error:

... wilds/common/utils.py" line 86, in avg_over_groups
    assert v.numel()==g.numel()

any ideas? It may be a bug on my end and if I catch it I'll update here.

@mitchellnw mitchellnw changed the title assert error in new wilds version assert error in new wilds version with FMoW Sep 15, 2022
@mitchellnw
Copy link
Author

Everything is working fine for iWC.

@kohpangwei
Copy link
Collaborator

Hi Mitchell,

Sorry for the late reply! I tried running python examples/run_expt.py --dataset fmow --algorithm groupDRO --root_dir /nlp/scr-sync/nlp/wilds --frac 0.01 --n_epochs 2 as a test but it seemed to work ok. Could you help me reproduce this error please?

@mitchellnw
Copy link
Author

It's probably just an issue with my set up then. I am using a different code base but importing wilds. For now I'll just look at accuracy then hopefully look more into this at some point and re-open the issue. Thanks!

@kohpangwei
Copy link
Collaborator

No worries! Please let us know if you come across this again.

@Solacex
Copy link

Solacex commented Jan 27, 2024

I just met the same problem. So how did you resolve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants