-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
inference with a pretrained model #39
Comments
Hi, I am sorry for confusion. TopFormer is not updated in this repo yet. I am updating the whole codebase and will release later. |
Thanks but I am still confused. |
I suggest to use the pretrained models provided in this repo from here. Not all of the weights from official repositories are compatible with the modified (simplified) code base in this repo. But still it should work after modifying some of the keys and values in the pretrained weights. This is the example result I tested with the SegFormer-B2 model. The result is pretty good. |
Thanks. I had seen that but the weights had not registered with me. It also
says which backbone to use.
…On Sat, Jun 11, 2022 at 11:24 PM sithu3 ***@***.***> wrote:
I suggest to use the pretrained models provided in this repo from here
<https://github.com/sithu31296/semantic-segmentation/blob/main/docs/MODELS.md>.
Not all of the weights from official repositories are compatible with the
modified (simplified) code base in this repo. But still it should work
after modifying some of the keys and values in the pretrained weights. This
is the example result
<https://github.com/sithu31296/semantic-segmentation/blob/main/assests/infer_result.png>
I tested with the SegFormer-B2 model. The result is pretty good.
—
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACOIPDBJOSTTYXCSJT2UULLVOSHSTANCNFSM5YPVRI3A>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Hi this looks great but I am a bit confused.
I want to use a pretrained topformer model for inference for evaluation then maybe to use it for custom training.
I am confused about the steps.
I downloaded a model from here https://github.com/hustvl/TopFormer
In the ade20k.yaml file what do I put for the BACKBONE (in MODEL)? Also for PRETRAINED?
Or is the BACKBONE the starting weights for transfer learning?
The text was updated successfully, but these errors were encountered: