Skip to content
Discussion options

You must be logged in to vote

I tested adding inputs = torch.unsqueeze(inputs, 1) after the line of inputs = self.transform(self.inputs[index]), and now it is working. I have previously also posted my question there and the current solution has also been posted in pytorch forum. Thanks for your help!

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@wyli
Comment options

wyli Jun 14, 2023
Collaborator

@lxmedai
Comment options

@wyli
Comment options

wyli Jun 14, 2023
Collaborator

@lxmedai
Comment options

Answer selected by lxmedai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants