So2Sat getitem TypeError: img should be PIL Image. Got <class 'dict'> #1293
-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Can you post what transforms you are using? You can likely fix this by setting transforms=None when you define self.images |
Beta Was this translation helpful? Give feedback.
-
What exactly are you trying to do? I don't think you need to make your own So2Sat_Index dataset, and it would be easier to create a subclass than to make a new dataset from scratch. |
Beta Was this translation helpful? Give feedback.
The simpler way of doing this would be: