Mismatched package versions
haikunzhang95 opened this issue · 1 comments
haikunzhang95 commented
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
As of January 15, 2024, we should do this:
- Follow:this
- 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!