Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
活在明天
openpose
提交
5847ac3b
O
openpose
项目概览
活在明天
/
openpose
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openpose
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
5847ac3b
编写于
10月 15, 2020
作者:
G
Gines Hidalgo
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Improved error message
上级
55ed1f4a
变更
3
显示空白变更内容
内联
并排
Showing
3 changed file
with
14 addition
and
7 deletion
+14
-7
doc/release_notes.md
doc/release_notes.md
+2
-1
src/openpose/net/netCaffe.cpp
src/openpose/net/netCaffe.cpp
+6
-3
src/openpose/net/netOpenCv.cpp
src/openpose/net/netOpenCv.cpp
+6
-3
未找到文件。
doc/release_notes.md
浏览文件 @
5847ac3b
...
...
@@ -416,11 +416,12 @@ OpenPose Library - Release Notes
## Current version - Future OpenPose 1.6.1
1.
Main improvements:
1.
Some parts of the documentation have been explained better.
2.
Functions or parameters renamed:
3.
Main bugs fixed:
1.
90 and 270-degree rotations working again.
2.
C++ tutorial API demos only try to cv::imshow the image if it is not empty (avoding the assert that it would trigger otherwise).
4.
Changes/additions that affect the compatibility with the OpenPose Unity Plugin:
3.
Several typos fixed in the documentation.
...
...
src/openpose/net/netCaffe.cpp
浏览文件 @
5847ac3b
...
...
@@ -51,9 +51,12 @@ namespace op
{
try
{
const
std
::
string
message
{
".
\n
Possible causes:
\n\t
1. Not downloading the OpenPose trained models."
"
\n\t
2. Not running OpenPose from the same directory where the `model`"
" folder is located.
\n\t
3. Using paths with spaces."
};
const
std
::
string
message
{
".
\n
Possible causes:
\n
"
"
\t
1. Not downloading the OpenPose trained models.
\n
"
"
\t
2. Not running OpenPose from the root directory (i.e., where the `model` folder is located, but do not move the `model` folder!). E.g.,
\n
"
"
\t\t
Right example for the Windows portable binary: `cd {OpenPose_root_path}; bin/openpose.exe`
\n
"
"
\t\t
Wrong example for the Windows portable binary: `cd {OpenPose_root_path}/bin; openpose.exe`
\n
"
"
\t
3. Using paths with spaces."
};
if
(
!
existFile
(
mCaffeProto
))
error
(
"Prototxt file not found: "
+
mCaffeProto
+
message
,
__LINE__
,
__FUNCTION__
,
__FILE__
);
if
(
!
existFile
(
mCaffeTrainedModel
))
...
...
src/openpose/net/netOpenCv.cpp
浏览文件 @
5847ac3b
...
...
@@ -40,9 +40,12 @@ namespace op
mNet
{
cv
::
dnn
::
readNetFromCaffe
(
caffeProto
,
caffeTrainedModel
)},
spOutputBlob
{
new
caffe
::
Blob
<
float
>
(
1
,
1
,
1
,
1
)}
{
const
std
::
string
message
{
".
\n
Possible causes:
\n\t
1. Not downloading the OpenPose trained models."
"
\n\t
2. Not running OpenPose from the same directory where the `model`"
" folder is located.
\n\t
3. Using paths with spaces."
};
const
std
::
string
message
{
".
\n
Possible causes:
\n
"
"
\t
1. Not downloading the OpenPose trained models.
\n
"
"
\t
2. Not running OpenPose from the root directory (i.e., where the `model` folder is located, but do not move the `model` folder!). E.g.,
\n
"
"
\t\t
Right example for the Windows portable binary: `cd {OpenPose_root_path}; bin/openpose.exe`
\n
"
"
\t\t
Wrong example for the Windows portable binary: `cd {OpenPose_root_path}/bin; openpose.exe`
\n
"
"
\t
3. Using paths with spaces."
};
if
(
!
existFile
(
mCaffeProto
))
error
(
"Prototxt file not found: "
+
mCaffeProto
+
message
,
__LINE__
,
__FUNCTION__
,
__FILE__
);
if
(
!
existFile
(
mCaffeTrainedModel
))
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录