Code Monkey home page Code Monkey logo

Comments (6)

impiga avatar impiga commented on July 20, 2024 4

Hi, @David-zaiwang . "upernet_swin_base_patch4_window7_512x512.pth" is a model finetuned on ADE20K, not an ImageNet pre-trained model.
You would better use pre-trained models held in this page

from swin-transformer-semantic-segmentation.

impiga avatar impiga commented on July 20, 2024 1

For people having the same issue~

Please try to use this command:

python tools/train.py \
  configs/swin/upernet_swin_base_patch4_window7_512x512_160k_ade20k.py \
  --options \
  model.pretrained=swin_base_patch4_window7_224.pth

The ImageNet pre-trained model swin_base_patch4_window7_224.pth can be downloaded from this table

from swin-transformer-semantic-segmentation.

dongfeicui avatar dongfeicui commented on July 20, 2024 1

For people having the same issue~

Please try to use this command:

python tools/train.py \
  configs/swin/upernet_swin_base_patch4_window7_512x512_160k_ade20k.py \
  --options \
  model.pretrained=swin_base_patch4_window7_224.pth

The ImageNet pre-trained model swin_base_patch4_window7_224.pth can be downloaded from this table

https://github.com/SwinTransformer/storage/releases/download/v1.0.0/swin_base_patch4_window7_224.pth

from swin-transformer-semantic-segmentation.

AnukritiSinghh avatar AnukritiSinghh commented on July 20, 2024

Hi @David-zaiwang what command did you exactly use then to fine tune on your custom dataset?
Thanks

from swin-transformer-semantic-segmentation.

xuhao-anhe avatar xuhao-anhe commented on July 20, 2024

Hi @David-zaiwang what command did you exactly use then to fine tune on your custom dataset? Thanks

Hello, have you solved this problem

from swin-transformer-semantic-segmentation.

Lsz-20 avatar Lsz-20 commented on July 20, 2024

@David-zaiwang @AnukritiSinghh @xuhao-anhe the same question!have you solved this question?
@impiga It seems that these pretrain offered by official swin cannot work well on this code?

from swin-transformer-semantic-segmentation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.