TencentARC/DeSRA

Mismatched package versions

haikunzhang95 opened this issue · 1 comments

Installing the package according to the version you specified will not run the code correctly, causing some errors. Please fix the code or version dependencies.

As of January 15, 2024, we should do this:

  1. Follow:this
  2. Change test_pipeline in segformer_mit-b5_640x640_160k_ade20k.py to:
    test_pipeline = [
    dict(type='LoadImageFromFile'),
    dict(type='Resize', scale=(2048, 640), keep_ratio=True),
    dict(type='LoadAnnotations', reduce_zero_label=True),
    dict(type='PackSegInputs')
    ]

Good luck!