raise ValueError(f"Sequence must have length {dim}, got {len(tup)}.") #4751
mahootiha-maryam
started this conversation in
General
Replies: 1 comment
-
Hi @mahootiha-maryam,
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use unet with this metrics as my model:
I have train dataset That has 2 input channel image and 2 output channel label
And also I have test dataset That has 2 input channel image and 2 output channel label
These are the transformers for test :
And these are the post transformers:
When I try to load a pretrained model and use test dataset for seeing the prediction with this code:
I face this error on the line x = sliding... and when I tried to see the source of error I couldn't understand it.
```
raise ValueError(f"Sequence must have length {dim}, got {len(tup)}.")
ValueError: Sequence must have length 2, got 3.
Beta Was this translation helpful? Give feedback.
All reactions