Git Product home page Git Product logo

Comments (4)

thisimyusername avatar thisimyusername commented on August 16, 2024 2

now I meet same error,

from pytorch_realtime_multi-person_pose_estimation.

SaraSherinThomas avatar SaraSherinThomas commented on August 16, 2024 1

In the demo code, update the lines to load the model as below:

model = get_model('vgg19')
wts_dict = torch.load(args.weight)
wts_dict_corrected = {k.replace('module.',''): v for k, v in wts_dict.items()}
model.load_state_dict(wts_dict_corrected)

from pytorch_realtime_multi-person_pose_estimation.

thisimyusername avatar thisimyusername commented on August 16, 2024

Hi,Sorry I dont know how to fix your problem.
But you trained success! I am also troubled with the train process.Could you give some ideas?
I train the model on a animal-pose datasets which has 20 keypoints and 15 keypoint-connection.
When I train, error log said: the shape of heatmap and vec not match to outputs of network(which is heatmap 19 and vec(paf) 38) ,I try to change the output channels of network, but got another error:RuntimeError: Given groups=1, weight of size [128, 185, 7, 7], expected input[8, 179, 46, 46] to have 185 channels, but got 179 channels instead.

from pytorch_realtime_multi-person_pose_estimation.

chris2lee avatar chris2lee commented on August 16, 2024

I think you downloaded a wrong weight.

from pytorch_realtime_multi-person_pose_estimation.

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.