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

Imbalanced dataset sampler w/ crossentropyloss not importing on google colab #17

Open
gnai opened this issue Jun 8, 2020 · 3 comments

Comments

@gnai
Copy link

gnai commented Jun 8, 2020

Hello, Im trying to import the module on google colab but im getting a no module found error, someone fixed this?
I also tried to install with !pip install torchsampler.

Thanks

@dezoito
Copy link

dezoito commented Aug 16, 2020

Were you able to solve this?

UPDATE: this works for me

!git clone https://github.com/ufoym/imbalanced-dataset-sampler.git
%cd /content/imbalanced-dataset-sampler
!pip install .
%cd /content/

@ricglz
Copy link

ricglz commented Feb 12, 2021

You could also do

pip install git+https://github.com/ufoym/imbalanced-dataset-sampler

@robinzhaorr
Copy link

You could also do

pip install git+https://github.com/ufoym/imbalanced-dataset-sampler

!pip install git+https://github.com/ufoym/imbalanced-dataset-sampler

For Google Colab

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

4 participants