-
Notifications
You must be signed in to change notification settings - Fork 6
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
if my input x is [10,3,224,224], what should extra_tokens["channels"] be? #3
Comments
when I use hcs_channel_vit.py ,
|
my set : cur_channel_embed = self.channel_embed(torch.tensor([0,1,2])) error:RuntimeError: permute(sparse_coo): number of dimensions in the tensor input does not match the length of the desired ordering of dimensions i.e. input.dim() = 2 is not equal to len(dims) = 3 |
Hi, I am getting the same error. I want to use pretrained |
@daixiangzi For example, in the ImageNet dataset, we return a dictionary containing |
@priyarana The |
Thanks Sri!, My images have 7 channels, and I am thinking to use pretrained "camelyon_channelvit_small_p8_with_hcs_supervised" for feature extraction. to begin with I am trying this library for 3 channels as of now, and getting this error : /torch/hub/insitro_ChannelViT_main/channelvit/backbone/hcs_channel_vit.py", line 63, in forward Just wondering if you have any inputs on this? |
The error message |
No description provided.
The text was updated successfully, but these errors were encountered: