Skip to content

Parameter setting #174

@kenrubiooo

Description

@kenrubiooo

Hi @xinntao,

I am trying to train with upscale of x2. However, I am still encountering this error

RuntimeError: The size of tensor a (256) must match the size of tensor b (128) at non-singleton dimension 3

  1. What should be the paths in the dataroot_LQ in the .yml file? Are they supposed to be the generated directories after running the generate_mod_LR_bic.py code? I am always pointing to the ./srtoolbox/dataset/DIV2K/mod/DIV2K800_sub/LR/x2 and to the ./srtoolbox/dataset/DIV2K/mod/DIV2K100/LR/x2 directories for both training and validation datasets.

  2. What should I place in the GT_size in the .yml file? Is it the step or the crop_sz parameter in the extract_subimgs_single.py?

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions