You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to get the FoodSeg103's swin_base model and config files working with the most recent version of mmcv-full and mmsegmentation (0.22.1) on PyTorch 1.11.0 and cuda toolkit 11.3.
Config files had their parameters to be aligned with those used by the current mmcv version.
Mmsegmentation's swim2mmseg.py converter was modified so that it was able to fix the FoodSeg Swin-B+UperNet model keys and values.
When used with the upernet_swin_base_patch4_window7_512x1024_80k.py config file, results mIoU=41.18 and mAcc=53.86 were aligned with the results on the benchmark model zoo.
I am suggesting that the swin models and config files to be updated and tested with current mmcv-full versions, especially in light of issues such as this.
I am able to get the FoodSeg103's swin_base model and config files working with the most recent version of mmcv-full and mmsegmentation (0.22.1) on PyTorch 1.11.0 and cuda toolkit 11.3.
Config files had their parameters to be aligned with those used by the current mmcv version.
Mmsegmentation's
swim2mmseg.py
converter was modified so that it was able to fix the FoodSeg Swin-B+UperNet model keys and values.When used with the
upernet_swin_base_patch4_window7_512x1024_80k.py
config file, results mIoU=41.18 and mAcc=53.86 were aligned with the results on the benchmark model zoo.I am suggesting that the swin models and config files to be updated and tested with current mmcv-full versions, especially in light of issues such as this.
Script below:
python ckptconvert.py "path/to/original/file.pth" "new_file/path.pth"
upernet_swin_base_patch4_window7_512x1024_80k.py
config fileThe text was updated successfully, but these errors were encountered: