Closed TolgaAktas closed 1 month ago
You haven't shared enough code to reproduce the issue:
> python3 test.py
Traceback (most recent call last):
File "/Users/Adam/torchgeo/test.py", line 37, in <module>
from data_utils import pick_images,filter_batchdict
ModuleNotFoundError: No module named 'data_utils'
Anything you can do to make an MRE helps me solve the issue.
You can safely ignore those as they don't relate to the problem and use stack_samples. Here is what I found however: The issue may not be even about UnionDataset. I am trying to just use data loader for arizona dataset and that is still failing on its own. For the WRS2 38/37, IntersectionDataset gives rise to the following error message: https://pastebin.com/V3QsZWQC
For your reference, here's what the file system for the dataset looks like: https://pastebin.com/D9hQTM0W
Previously such issues arose due to mint, maxt but now that I am relaxing the regex condition, I am not sure why this is happening. Will that be enough details?
@TolgaAktas are you still encountering this issue? Do you have an MRE I can use to reproduce the issue?
No response from OP so I'm guessing the issue has been fixed. If you're still encountering any issues let me know.
Description
I am trying to take the union of two IntersectionDatasets for scene diversity (WRS2 16/30 and WRS2 38/37). Each IntersectionDataset takes the intersection of two datasets, one with cloudy imagery and one with cloud-free imagery. The following code gives the failure code listed below:
The error message is:
Steps to reproduce
Version
0.5.0.dev0