TencentARC / DeSRA

Official codes for DeSRA (ICML 2023)
126 stars 0 forks source link

Mismatched package versions #11

Open haikunzhang95 opened 10 months ago

haikunzhang95 commented 10 months ago

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.

haikunzhang95 commented 10 months ago

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!