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

Add ImageNet-R,-A,-200 #3

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ Note that the package is not intended for general purpose domain adaptation. Ins
We will release the first stable version of the package on PyPI. Until then, you can install directly from the main repo:

```bash
# Latest stable release:
pip install git+git://github.com/bethgelab/robustness.git

# Release candidate:
pip install git+git://github.com/bethgelab/robustness.git@rc
Copy link

@Djoels Djoels Mar 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

installing through the git protocol didn't seem to work for me (apparently a port/firewall issue?)
so I adapted this to
pip install git+https://github.com/bethgelab/robustness.git@rc

on python 3.6 I didn't succeed in importing, however when uninstalling I got this message:

Found existing installation: robusta 0.0.1
Uninstalling robusta-0.0.1:
  Would remove:
    /opt/anaconda3/envs/py36/lib/python3.6/site-packages/batchnorm/*
    /opt/anaconda3/envs/py36/lib/python3.6/site-packages/datasets/*
    /opt/anaconda3/envs/py36/lib/python3.6/site-packages/models/*
    /opt/anaconda3/envs/py36/lib/python3.6/site-packages/robusta-0.0.1.dist-info/*
    /opt/anaconda3/envs/py36/lib/python3.6/site-packages/selflearning/*

it appears the setuptools config has different behaviour when running in python 3.6 vs python 3.8? I will need to keep a cloned version of the github repo as pip installing is still not working for me either

```

Here is an example for how to use `robusta` for batchnorm adaptation & robust pseudo-labeling.
Expand Down