Comments (6)
Thanks for reporting this error. From your error message, It seems to be the error of opencv 3.0. Could you provide more detail information, e.g. ubuntu linux? gcc version? opencv version?
Current code was tested under ubuntu 14.04 and opencv 2.4.
Please let me know if you make any progress. Otherwise, I can try to reproduce your error later.
from objectness.
Hi, thanks for reply.
Your are right. The problem is due to the OpenCV 3. I uninstalled it today (working on another project), and now that you answered me I tried to compile the Objectness code and it compiled correctly. So the problem was definetively opencv 3.
I was not able to figure it out from that error message.
from objectness.
It seems to be something to do with the image encoding libraries. Any error messages have you got?
from objectness.
On opencv 3.x, add "opencv_imgcodecs" into last line of CMakeLists.txt, just before "EXTERNAL_LIBS"(the order doesn't matter).
from objectness.
It works, thanks @rockrush . But how to solve the following problem:
OpenCV Error: Assertion failed (matRead(_modelName + ".xP", xP1f) && matRead(_modelName + ".xN", xN1f)) in trainStageI, file /media/BING_Linux/Src/Objectness.cpp, line 555
terminate called after throwing an instance of 'cv::Exception'
what(): /media/BING_Linux/Src/Objectness.cpp:555: error: (-215) matRead(_modelName + ".xP", xP1f) && matRead(_modelName + ".xN", xN1f) in function trainStageI
I download the OpenCV readable of VOC 2007 annotation could be download from: http://mmcheng.net/mftp/Data/VOC2007_AnnotationsOpenCV_Readable.7z. However, after unzip this file, it said wrong compress method. Have you ever met this problem?
from objectness.
@RyanCV @rockrush I also have this problem, how to solve the following problem:
OpenCV Error: Assertion failed (matRead(_modelName + ".xP", xP1f) && matRead(_modelName + ".xN", xN1f)) in trainStageI, file /media/BING_Linux/Src/Objectness.cpp, line 555
terminate called after throwing an instance of 'cv::Exception'
what(): /media/BING_Linux/Src/Objectness.cpp:555: error: (-215) matRead(_modelName + ".xP", xP1f) && matRead(_modelName + ".xN", xN1f) in function trainStageI
Thank you very much for your help!
from objectness.
Related Issues (15)
- A small bug in the evaluation code
- run ./BING_linux Invalidate class name HOT 3
- About dataset HOT 4
- precision recall
- YAML files generated from xml2yml.m HOT 2
- /Objectness.cpp:304 not enough training sample for r[0] = 2. P = 0, N = 6760
- Content in the dataset catalog
- Compilation error: error: ‘CV_INTER_NN’ was not declared in this scope. HOT 1
- OpenCV 3.0 Objectness HOT 2
- YAML files generated from xml2yml.m cannot be read by Opencv FilgStorage class HOT 4
- Are there any alternatives to given xml2yaml.m ? HOT 1
- Installing on Mac HOT 4
- How to correctly set all the paths and run the code? HOT 14
- Problem with installing on Mac HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from objectness.