Comments (4)
Can you describe it in detail? 你能说的再详细点么?
from convolutional-pose-machine-tf.
运行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.
谢谢回复!
运行最新的代码后,报错
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.
请回复代码是否解决问题。谢谢
from convolutional-pose-machine-tf.
Related Issues (20)
- 关于net的疑惑 HOT 1
- Unable to access the model from offered site HOT 2
- Error when trainning. HOT 2
- about trained model HOT 2
- train自己的数据报错 HOT 15
- 能得到关节点的具体坐标信息吗 HOT 3
- demo下面没有demo,model下面也不是model HOT 1
- 训练MPII数据集 HOT 3
- 关于自己测试图片的问题
- MPII数据结果和论文差别大吗? HOT 2
- 关于预训练模型vgg.和mobile v1的问题 HOT 1
- 关于TensorFlow的ckpt模型问题 HOT 1
- 您好,model下载网址好像失效了 HOT 2
- 运行realtime_demo.py时报错 HOT 13
- 报错 求指导 HOT 8
- 关于训练中的train中build_accuracy的问题 HOT 1
- 关于valPCK 问题 HOT 6
- 关于数据 HOT 1
- bug:在datagen_mpii.py padding时,高度的padding好像有错误 HOT 1
- A bug in net/CPM.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from convolutional-pose-machine-tf.