Code Monkey home page Code Monkey logo

Comments (4)

VainF avatar VainF commented on July 23, 2024 1

Hi @free-bit , thanks for your suggestions. The readme was updated.

from deeplabv3plus-pytorch.

lcr9875 avatar lcr9875 commented on July 23, 2024

@VainF I encountered the opposite situation.I get weight by -separable_conv,Then I encountered problems during the test.

RuntimeError: Error(s) in loading state_dict for DeepLabV3:
Missing key(s) in state_dict: "classifier.aspp.convs.1.0.weight", "classifier.aspp.convs.2.0.weight", "classifier.aspp.convs.3.0.weight", "classifier.classifier.0.weight".
Unexpected key(s) in state_dict: "classifier.aspp.convs.1.0.body.0.weight", "classifier.aspp.convs.1.0.body.1.weight", "classifier.aspp.convs.2.0.body.0.weight", "classifier.aspp.convs.2.0.body.1.weight", "classifier.aspp.convs.3.0.body.0.weight", "classifier.aspp.convs.3.0.body.1.weight", "classifier.classifier.0.body.0.weight", "classifier.classifier.0.body.1.weight".

I think it's because the weight name was changed during training,How to modify the code to test after -separable_conv?

from deeplabv3plus-pytorch.

VainF avatar VainF commented on July 23, 2024

Hi @lcr9875, the pretrained weights are only compatible with defalt models that does not use seperable convs. You may train your own models from scratch if you want to enable seperate convs.

from deeplabv3plus-pytorch.

lcr9875 avatar lcr9875 commented on July 23, 2024

@VainF Hi,I train it without pretrained weights by myself,but I get this problem while test the new weight.I read the code and i think the extra "body.x" in the weight is caused by -separable, so how should I test the weight with "body.x"? Thank you very much.

from deeplabv3plus-pytorch.

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.