Giter Club home page Giter Club logo

Comments (4)

mpskex avatar mpskex commented on June 19, 2024

Can you describe it in detail? 你能说的再详细点么?

from convolutional-pose-machine-tf.

csysl avatar csysl commented on June 19, 2024

运行valPCK.py后在103行报错:
ValueError: operands could not be broadcast together with shapes (16,2) (17,2)
报错的代码
for n in range(len(Global.joint_list)): err[_iter*paral+n] = np.linalg.norm(w[n]*(j_gt[n,:,:]-j_dt[n,:,-1::-1]),axis=1) / np.linalg.norm(j_gt[n,normJ_a,:]-j_gt[n,normJ_b,:], axis=0)

代码96行得到的j_gt的shape为(2,16,2)
代码99行得到的预测结果 j_dt的shape为(2,17,2)

from convolutional-pose-machine-tf.

csysl avatar csysl commented on June 19, 2024

谢谢回复!
运行最新的代码后,报错
ValueError: could not broadcast input array from shape (17,2) into shape (16,2)
代码在predict.py的178行
j[idx], w[idx] = joints_pred_numpy(r_pred_map, np.expand_dims(_img_list[idx], 0), thresh=thresh)

from convolutional-pose-machine-tf.

mpskex avatar mpskex commented on June 19, 2024

请回复代码是否解决问题。谢谢

from convolutional-pose-machine-tf.

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.