casontsai / maskrcnn_tensorflow_cpp_inference Goto Github PK
View Code? Open in Web Editor NEWinference mask_rcnn model with tensorflow c++ api
License: MIT License
inference mask_rcnn model with tensorflow c++ api
License: MIT License
I downloaded your code, but I don`t know how to run this demo for I am unfamiliar with cpp.
I have installed vs2015, qt 5.8.0,cuda, opencv, and downloaded the tensorflow library from given link, but how can I import these libraries into vs2015?
First I have build an empty QT application in vs2015, secondly I import these code into it. Then I modified the property sheet to include these library. But when I try to compile the code, VS2015 raised many error in some strange library such as "tensor_shape.h"(in the "外部依赖项")?
Could you please show me the process of building such environment? (Chinese is ok 博客链接什么的都可以)
I have two errors when I compiled the prj with vs2015 like this, most problem is the function get_anchors, I do not know how to fix it,please help me, thanks:
d:\tools\tensorflow-win\tensorflow\bazel-tensorflow\external\eigen_archive\unsupported\eigen\cxx11\src/Tensor/TensorExecutor.h(143): error C2440: “”: 无法从“const Eigen::DSizes<__int64,1>”转换为“TensorBlockDimensions”
1> d:\tools\tensorflow-win\tensorflow\bazel-tensorflow\external\eigen_archive\unsupported\eigen\cxx11\src/Tensor/TensorExecutor.h(143): note: 无构造函数可以接受源类型,或构造函数重载决策不明确
1> d:\tools\tensorflow-win\tensorflow\bazel-tensorflow\external\eigen_archive\unsupported\eigen\cxx11\src/Tensor/TensorExecutor.h(115): note: 编译类 模板 成员函数“void Eigen::internal::TensorExecutor<const Assign,Eigen::DefaultDevice,true,true>::run(Expression &,const Eigen::DefaultDevice &)”时
1> with
1> [
1> Expression=const Assign
1> ]
1>d:\tools\tensorflow-win\tensorflow\bazel-tensorflow\external\eigen_archive\unsupported\eigen\cxx11\src/Tensor/TensorExecutor.h(144): error C2661:
Hi Cason,
Thank you so much for this, I notice you only acquire bbox and neglect the masks, how do i acquire the masks?
Hi,
thank you for the great work,
I am trying out this project under linux, I am trying to make the ballon detector run in C++,
I compiled the code without errors but when I run the code I encounter the following problem ,
Assertion `dimensions_match(m_leftImpl.dimensions(), m_rightImpl.dimensions())' failed.
Aborted
I think I am missing some parameter adjustment for my use case, my configuration is the one in balloon.py of maskrcnn example.
Do you know how can I overcome this ?
Hello, I learned a lot from you. After configuring C ++, run your code main.cpp on Windows (without any changes), but the following error occurred:
when i run :
detectBatchTmp.initConfig(detect_size_w, detect_size_h) -> get_anchors() -> inputAnchorsTensor_temp.chip(i,1)=eachrow
If an error occurs, debug is broken, and it appears in the following code.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE bool evalSubExprsIfNeeded(Scalar*) {
eigen_assert(dimensions_match(m_leftImpl.dimensions(), m_rightImpl.dimensions()));
m_leftImpl.evalSubExprsIfNeeded(NULL);
// If the lhs provides raw access to its storage area (i.e. if m_leftImpl.data() returns a non
// null value), attempt to evaluate the rhs expression in place. Returns true iff in place
// evaluation isn't supported and the caller still needs to manually assign the values generated
// by the rhs to the lhs.
return m_rightImpl.evalSubExprsIfNeeded(m_leftImpl.data());
}
I'm not familiar with eigen, I can't understand how the code works. Thank you for giving me some suggestions.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.