Skip to content

AttributeError: 'SegformerForSemanticSegmentation' object has no attribute 'load_weights'. Did you mean: 'init_weights'? #8

Description

@ddbuscombe

The transformers library now uses SegformerForSemanticSegmentation instead of TFSegformerForSemanticSegmentation. I have updated doodleverse-utils to accommodate this change. I reinstalled the pingmapper and rockmapper envs and it looks like it is pulling the latest version (0.0.43)

Image

So, pingseg needs to be updated, specifically seg_gym_folder imported as from pingseg.seg_gym import seg_gym_folder

I'm happy to try to contribute this change in https://github.com/PINGEcosystem/PINGSeg

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions