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

ERROR WHILE RUNNING THE CODE FOR TISSUEMNIST #6

Open
arnabphoenix opened this issue Jul 16, 2023 · 0 comments
Open

ERROR WHILE RUNNING THE CODE FOR TISSUEMNIST #6

arnabphoenix opened this issue Jul 16, 2023 · 0 comments

Comments

@arnabphoenix
Copy link

Downloading https://zenodo.org/record/6496656/files/tissuemnist.npz?download=1 to /content/LifeLonger/data/tissuemnist/tissuemnist.npz
100%|##########| 124962739/124962739 [00:31<00:00, 3971617.35it/s]
Using downloaded and verified file: /content/LifeLonger/data/tissuemnist/tissuemnist.npz
[(0, 2), (1, 2), (2, 2), (3, 2)]


Task 0



RuntimeError Traceback (most recent call last)
in <cell line: 348>()
347
348 if name == 'main':
--> 349 main()

12 frames
/usr/local/lib/python3.10/dist-packages/torch/nn/modules/conv.py in _conv_forward(self, input, weight, bias)
457 weight, bias, self.stride,
458 _pair(0), self.dilation, self.groups)
--> 459 return F.conv2d(input, weight, bias, self.stride,
460 self.padding, self.dilation, self.groups)
461

RuntimeError: Given groups=1, weight of size [64, 3, 7, 7], expected input[32, 1, 32, 32] to have 3 channels, but got 1 channels instead

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