Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demo 出错 #5

Closed
zq130320339 opened this issue Apr 16, 2018 · 8 comments
Closed

demo 出错 #5

zq130320339 opened this issue Apr 16, 2018 · 8 comments

Comments

@zq130320339
Copy link

F0416 21:56:18.036826 12284 concat_layer.cpp:42] Check failed: top_shape[j] == bottom[i]->shape(j) (75 vs. 76) All inputs must have the same shape, except at concat_axis.
*** Check failure stack trace: ***
Aborted (core dumped)

下载了您的代码,在运行demo.py的时候出现了这样的问题,怎么解决?

@xhzdeng
Copy link
Owner

xhzdeng commented Apr 16, 2018

你好,我并未针对crpn修改相应的demo.py代码,所以不能使用。^_^

@zq130320339
Copy link
Author

谢谢你的回答,我现在想看一下你的模型的效果,该怎么操作呢

@xhzdeng
Copy link
Owner

xhzdeng commented Apr 17, 2018

使用/experiments/script/test.sh,会输出一个pkl文件,里面存放的是检测结果。感谢你提出这个需求,我会尽快修改demo.py代码。

@zq130320339
Copy link
Author

谢谢作者的回答,请问你们有做过中文的文本检测吗

@741077510
Copy link

最近也在关注您的代码,用自己的数据训练了一下网络,同样想知道查看测试的效果如何,请问有没有什么可视化的方法。或者,期待作者修改后的demo.py

@741077510
Copy link

F0416 21:56:18.036826 12284 concat_layer.cpp:42] Check failed: top_shape[j] == bottom[i]->shape(j) (75 vs. 76) All inputs must have the same shape, except at concat_axis.
*** Check failure stack trace: ***
Aborted (core dumped)
这个错误可以通过修改读取的参数解决,参考https://github.com/sanghoon/pva-faster-rcnn/issues/38,我修改过demo.py,正常运行不会报错,但是将测试图片保存后,查看,基本没有找到对应的目标框,不知道是不是demo.py出的问题。。。

@xhzdeng
Copy link
Owner

xhzdeng commented Apr 18, 2018

@zq130320339 @741077510 已经更新了代码。^_^

@xhzdeng xhzdeng closed this as completed Apr 24, 2018
@tsing-cv
Copy link

@xhzdeng 我用的是你更新后的代码,但是demo还是报错啊

*** Check failure stack trace: ***
Aborted (core dumped)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants