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

I can't run the sampler.py in Windows #1

Open
Ffffffffchopin opened this issue Sep 3, 2022 · 1 comment
Open

I can't run the sampler.py in Windows #1

Ffffffffchopin opened this issue Sep 3, 2022 · 1 comment

Comments

@Ffffffffchopin
Copy link

I try to run the experiment on the ImageNet_LT dataset but it occur wrong

image

Then I try to get the Image that read from getitem to be transfer into tensor but it occur

image

My computer is windows11 with cuda 11.7 python 3.6

@Ffffffffchopin
Copy link
Author

TypeError: default_collate: batch must contain tensors, numpy arrays, numbers, dicts or lists; found <class 'PIL.Image.Image'>

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

1 participant