varun-nagaraja / bing-objectness Goto Github PK
View Code? Open in Web Editor NEWFork of the code for Linux and OSX
Fork of the code for Linux and OSX
in function (Objecness.cpp:624
)
Mat Objectness::trainSVM(const vector<Mat> &pX1f, const vector<Mat> &nX1f, int sT, double C, double bias, double eps, int maxTrainNum)
If too many positive samples are supplied, numP
is not adjusted according to the size of X1f
and a seg fault occurs.
OpenCV Error: Assertion failed (d == 2 && (sizes[0] == 1 || sizes[1] == 1 || sizes[0]*sizes[1] == 0)) in create, file opencv/modules/core/src/matrix.cpp, line 2548
terminate called after throwing an instance of 'cv::Exception'
what(): matrix.cpp:2548: error: (-215) d == 2 && (sizes[0] == 1 || sizes[1] == 1 || sizes[0]*sizes[1] == 0) in function create
do you have any ideas of how to compile it into *.so file on linux ? sorry, my request might be too silly, but i have no experience on c/c++.
what is D on line 7 of FilterTIG.cpp
CV_Assert(w1f.cols * w1f.rows == D && w1f.type() == CV_32F && w1f.isContinuous());
when i try to run i get the following error:
openCV Error: Assertion failed (w1f.cols * w1f.rows == D && w1f.type() == CV_32F && w1f.isContinuous()) in update, file .../BING/FilterTIG.cpp,
I successfully make the project, but I'm not sure how to run detection on images. I tried to run
./BING-Objectness-master/build/Objectness/BING
But I got this error:
OpenCV Error: Assertion failed (matRead(_modelName + ".xP", xP1f) && matRead(_modelName + ".xN", xN1f)) in trainStageI, file /home/lixueting/Documents/BING-Objectness-master/Objectness/Objectness.cpp, line 549
terminate called after throwing an instance of 'cv::Exception'
what(): /home/lixueting/Documents/BING-Objectness-master/Objectness/Objectness.cpp:549: error: (-215) matRead(_modelName + ".xP", xP1f) && matRead(_modelName + ".xN", xN1f) in function trainStageI
Do you have any ideas about this? Thanks!
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.