Organize datasets for TransWeather
mainTransWeather requires datasets to be organized in a specific directory structure for training and testing. Each dataset should be placed within a train or test directory under data/, containing subdirectories for input (degraded images) and gt (ground truth clean images), along with a .txt file listing the filenames.
Required Directory Structure:
TransWeather
├── data
│ ├── train # Training
│ │ ├── <dataset_name>
│ │ │ ├── input # degraded images (e.g., rain images)
│ │ │ └── gt # clean images
│ │ └── dataset_filename.txt
│ └── test # Testing
│ │ ├── <dataset_name>
│ │ │ ├── input # degraded images
│ │ │ └── gt # clean images
│ │ └── dataset_filename.txtTransWeather
├── data
│ ├── train # Training
│ │ ├── <dataset_name>
│ │ │ ├── input # rain images
│ │ │ └── gt # clean images
│ │ └── dataset_filename.txt
│ └── test # Testing
│ │ ├── <dataset_name>
│ │ │ ├── input # rain images
│ │ │ └── gt # clean images
│ │ └── dataset_filename.txt