Skip to content

Dataset setup is unclear and causes errors when running Super Resolution pipeline #135

@Shrishagk

Description

@Shrishagk

Problem

While setting up the Super_Resolution_Atal_Gupta module, the dataset preparation process is not clearly defined. The current workflow leads to multiple issues for new users:

• No script is provided to generate HR–LR image pairs
• Running the pipeline without manually prepared data leads to FileNotFoundError
• The data loader in get_data_diff.py throws indexing errors when dataset size is small
• README lacks clear dataset generation instructions

This makes reproducing results difficult and increases onboarding time for contributors.


Observed Errors

  1. FileNotFoundError due to missing dataset files
  2. IndexError in get_data_diff.py when dataset size < required index
  3. Confusion about required directory structure

Proposed Fix

I will submit a PR that:

✔ Adds a dataset generation script (generate_dataset.py)
✔ Updates README with step-by-step dataset setup
✔ Fixes indexing bug in get_data_diff.py
✔ Improves reproducibility of the pipeline

This will make the module runnable out-of-the-box and improve contributor experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions