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

修复C++ Inference Example中的demo存在的错误 #290

Merged
merged 2 commits into from
Sep 28, 2022
Merged

修复C++ Inference Example中的demo存在的错误 #290

merged 2 commits into from
Sep 28, 2022

Conversation

Zheng-Bicheng
Copy link
Collaborator

PR types

Bug fixes

PR changes

Docs

Describe

修复C++ Inference Example中的demo存在的错误

  • 少了一个分号,程序无法运行
  • 没有进行BGR转RGB工作,导致图片颜色通道出现错误

Zheng-Bicheng and others added 2 commits September 27, 2022 20:55
* 少了一个分号,程序无法运行
* 没有进行BGR转RGB工作,导致图片颜色通道出现错误
@ChaoII
Copy link
Collaborator

ChaoII commented Sep 28, 2022

在ppyoloe中不是加了BGR2RGB的前处理么?还要加啊
image

@jiangjiajun
Copy link
Collaborator

你说模型内部有BGR2RGB吗。是没有的

@ChaoII
Copy link
Collaborator

ChaoII commented Sep 28, 2022

你说模型内部有BGR2RGB吗。是没有的

那图片中绿色框框中的代码是干嘛的呀

@Zheng-Bicheng
Copy link
Collaborator Author

在ppyoloe中不是加了BGR2RGB的前处理么?还要加啊
image

可是输出图片的颜色通道会出现问题

@jiangjiajun
Copy link
Collaborator

jiangjiajun commented Sep 28, 2022

你只是指最后可视化的图片颜色通道问题么

@jiangjiajun jiangjiajun merged commit ef1d1d1 into PaddlePaddle:develop Sep 28, 2022
jiangjiajun added a commit that referenced this pull request Sep 28, 2022
jiangjiajun added a commit that referenced this pull request Sep 28, 2022
Revert "修复C++ Inference Example中的demo存在的错误 (#290)"

This reverts commit ef1d1d1.
@jiangjiajun
Copy link
Collaborator

@Zheng-Bicheng 刚刚不小心合入了PR,你能重新提一个PR吗,修复没有return 0;和没有分号的的问题, BGR2RGB的问题我微信上跟你说吧

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

Successfully merging this pull request may close these issues.

None yet

3 participants