Comments (9)
This is what my config.json
looks like:
{
"searcher":
{
"indexfile": "/Users/xyz/Desktop/opensse/index_file",
"filelist": "/Users/xyz/Desktop/opensse/filelist",
"vocabulary": "/Users/xyz/Desktop/opensse/data/vocabulary",
"results_num": "12",
"views_num": "102"
}
}
After carefully checking it with the option I run in command line, I think the configuration is right.
from opensse.
This is my Qt version:
xyzdeMacBook-Pro:opensse xyz$ qmake --version
QMake version 3.1
Using Qt version 5.8.0 in /usr/local/Cellar/qt/5.8.0_2/lib
from opensse.
When you run qmake command, your config.json
file and view
folder will be copied to /tmp/SketchSearchDemo
folder like below:
So, If you change your config.json
file, you should run qmake
again.
If still crash, please upload your report log.
from opensse.
I make the project again and it still crash.
How to get my report log? I only get a crash report from system like this:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libopensse.dylib 0x0000000104bc552c sse::QuantizerHard<std::__1::vector<float, std::__1::allocator<float> >, sse::L2norm_squared<std::__1::vector<float, std::__1::allocator<float> >, float> >::quantize(std::__1::vector<float, std::__1::allocator<float> > const&, std::__1::vector<std::__1::vector<float, std::__1::allocator<float> >, std::__1::allocator<std::__1::vector<float, std::__1::allocator<float> > > > const&, std::__1::vector<float, std::__1::allocator<float> >&) + 300
1 libopensse.dylib 0x0000000104bc4bf3 sse::quantize_samples_parallel(std::__1::vector<std::__1::vector<float, std::__1::allocator<float> >, std::__1::allocator<std::__1::vector<float, std::__1::allocator<float> > > > const&, std::__1::vector<std::__1::vector<float, std::__1::allocator<float> >, std::__1::allocator<std::__1::vector<float, std::__1::allocator<float> > > > const&, std::__1::vector<std::__1::vector<float, std::__1::allocator<float> >, std::__1::allocator<std::__1::vector<float, std::__1::allocator<float> > > >&, sse::QuantizerHard<std::__1::vector<float, std::__1::allocator<float> >, sse::L2norm_squared<std::__1::vector<float, std::__1::allocator<float> >, float> >&) + 227
2 libopensse.dylib 0x0000000104bc49d7 sse::quantize(std::__1::vector<std::__1::vector<float, std::__1::allocator<float> >, std::__1::allocator<std::__1::vector<float, std::__1::allocator<float> > > > const&, std::__1::vector<std::__1::vector<float, std::__1::allocator<float> >, std::__1::allocator<std::__1::vector<float, std::__1::allocator<float> > > > const&, std::__1::vector<float, std::__1::allocator<float> >&, sse::QuantizerHard<std::__1::vector<float, std::__1::allocator<float> >, sse::L2norm_squared<std::__1::vector<float, std::__1::allocator<float> >, float> >&) + 263
3 SketchSearchDemo 0x000000010303abcd SketchSearcher::query(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::vector<QueryResult, std::__1::allocator<QueryResult> >&) + 237
4 SketchSearchDemo 0x0000000103036b97 MainWindow::search(QString const&) + 151
5 org.qt-project.QtCore 0x00000001058f117a QMetaObject::activate(QObject*, int, int, void**) + 2954
6 SketchSearchDemo 0x000000010303bf05 SketchArea::newSketchDone(QString const&) + 53
7 org.qt-project.QtWidgets 0x0000000104ca50f5 QWidget::event(QEvent*) + 533
8 org.qt-project.QtWidgets 0x0000000104c63f52 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306
9 org.qt-project.QtWidgets 0x0000000104c66e9a QApplication::notify(QObject*, QEvent*) + 7514
10 org.qt-project.QtCore 0x00000001058c093f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159
11 org.qt-project.QtWidgets 0x0000000104c648d0 QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 896
12 org.qt-project.QtWidgets 0x0000000104cc60bc 0x104c52000 + 475324
13 org.qt-project.QtWidgets 0x0000000104cc4d19 0x104c52000 + 470297
14 org.qt-project.QtWidgets 0x0000000104c63f52 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 306
15 org.qt-project.QtWidgets 0x0000000104c652a8 QApplication::notify(QObject*, QEvent*) + 360
16 org.qt-project.QtCore 0x00000001058c093f QCoreApplication::notifyInternal2(QObject*, QEvent*) + 159
17 org.qt-project.QtGui 0x000000010522721a QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2938
18 org.qt-project.QtGui 0x000000010520e0fb QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 155
19 libqcocoa.dylib 0x000000010835f471 0x108339000 + 156785
20 com.apple.CoreFoundation 0x00007fff8ab8f3c1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
21 com.apple.CoreFoundation 0x00007fff8ab702cd __CFRunLoopDoSources0 + 557
22 com.apple.CoreFoundation 0x00007fff8ab6f7c6 __CFRunLoopRun + 934
23 com.apple.CoreFoundation 0x00007fff8ab6f1c4 CFRunLoopRunSpecific + 420
24 com.apple.HIToolbox 0x00007fff8a0d0ebc RunCurrentEventLoopInMode + 240
25 com.apple.HIToolbox 0x00007fff8a0d0bf9 ReceiveNextEventCommon + 184
26 com.apple.HIToolbox 0x00007fff8a0d0b26 _BlockUntilNextEventMatchingListInModeWithFilter + 71
27 com.apple.AppKit 0x00007fff8866be24 _DPSNextEvent + 1120
28 com.apple.AppKit 0x00007fff88de785e -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 2796
29 com.apple.AppKit 0x00007fff886607ab -[NSApplication run] + 926
30 libqcocoa.dylib 0x000000010835e21f 0x108339000 + 152095
31 org.qt-project.QtCore 0x00000001058bc8d2 QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 418
32 org.qt-project.QtCore 0x00000001058c0ff7 QCoreApplication::exec() + 343
33 SketchSearchDemo 0x0000000103035fad main + 61
34 libdyld.dylib 0x00007fffa02d2235 start + 1
from opensse.
No idea from log ...
from opensse.
Sad
from opensse.
My demo need put model file (*.off)
under the same folder with view images folder (D00xxxview)
.
If still not work, perhaps you need debug the code and find out root cause by yourself. Good luck!
from opensse.
I think my configuration is right:
xyzdeMacBook-Pro:SHREC12 xyz$ tree
.
βββ D00001.off
βββ D00001view
βΒ Β βββ 0.jpg
βΒ Β βββ 1.jpg
βΒ Β βββ 10.jpg
βΒ Β βββ 100.jpg
βΒ Β βββ 101.jpg
βΒ Β βββ 11.jpg
βΒ Β βββ 12.jpg
...
I know little about Qt. Maybe I'll try to debug it later.
from opensse.
Well, finally I fix it. It's a stupid error that I comment the config.json
in wrong way causing my own configuration didn't work at all.
I can enjoy it now.
from opensse.
Related Issues (20)
- Runtime error HOT 14
- How to compile on the windows without docker? HOT 3
- Some issues with OpenGl in Qt 5.8 HOT 4
- Train data not working HOT 2
- Why no 3D preview? HOT 1
- Question on generate Gabor filter HOT 2
- fatal error οΌwhen excute make HOT 1
- When i run the SketchSearchDemo in the folder of 'bin/' , the program close quickly after i draw some on it. HOT 1
- βsse vocabulary -f features -n 1000 -o vocabularyβ ? why choose the number '1000'οΌ HOT 2
- Have you ever met such a problemοΌ HOT 1
- There is a problem about the demo. HOT 1
- There is problem when I run β./linedrawing_project.sh -d data/ -p teddy.offβ. HOT 1
- via which port should access this server? HOT 4
- .
- error occurring with compiling HOT 1
- Remove an unnecessary null pointer check HOT 1
- crashing on mac (reports included) HOT 11
- Image in opensse wiki
- Some installation errors HOT 5
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 opensse.