Search found 11 matches

by Bryan
Mon Aug 14, 2017, 09:09
Forum: Direct Graphical Models
Topic: Random model training error
Replies: 6
Views: 13439

Re: Random model training error

Thank you for your reply! I have tried the first solution and command parameters are set to "5 1 KTesting_07.jpg feature.jpg NormalGrayKTesting_07.jpg result.jpg KTraining_07_mask.tif". The result is showed in the attachment. From the result.jpg and RunningResult.png, I think my ground tru...
by Bryan
Mon Aug 07, 2017, 08:59
Forum: Direct Graphical Models
Topic: Random model training error
Replies: 6
Views: 13439

Re: Random model training error

I use mask when the original image needs to choose ROI. For instance, the picture in the attachment has building, road and so on corresponding to white area of the second picture. Hence I don't need to extract features of original image in black and to train black areas. I am not sure about the four...
by Bryan
Sat Jul 29, 2017, 00:26
Forum: Direct Graphical Models
Topic: Random model training error
Replies: 6
Views: 13439

Random model training error

Hi! I have some problems to consult you. I run the demo train.cpp program using pictures in the attachment. However, the abortion occurs and the reminder is showed following: Building the Graph... Done! (4285.328649ms) Training... Assertion failed: gt < m_nStates in "E:\DGM_Feature\DGM\modules\...
by Bryan
Sat Jul 15, 2017, 12:26
Forum: Direct Graphical Models
Topic: DGM compile error
Replies: 13
Views: 29907

Re: DGM compile error

Sorry I have solved the problem. Sorry to disturb you. I can run the demo train. Now I try to learn how to extract road using my samples. Thank you for your help. :D
by Bryan
Fri Jul 14, 2017, 20:58
Forum: Direct Graphical Models
Topic: DGM compile error
Replies: 13
Views: 29907

Re: DGM compile error

I think I have the right setting, I can run D:\DGM\build\install\bin\Demo Train.dat. But I still wanna renew an independent folder and add "Demo Train" project then run it. But there are still some errors I am so confused about. I compared my project with "Demo Train" project, I ...
by Bryan
Sun Jul 09, 2017, 14:15
Forum: Direct Graphical Models
Topic: DGM compile error
Replies: 13
Views: 29907

Re: DGM compile error

I added source from demo-train.cpp in demos folder. Maybe VS can find that. Sorry I didn't copy setting from demo train project. Could I ask you how to copy? Copy certain file or content of the project? I will try it again. Sorry!
by Bryan
Sun Jul 02, 2017, 00:46
Forum: Direct Graphical Models
Topic: DGM compile error
Replies: 13
Views: 29907

Re: DGM compile error

I found I missed something so I renew a project add DGM/demos/demo_train.cpp and the two properties (debug__.props and opencv32.props) and compiled. Many LNK errors. Then I removed demo_train.cpp and add extract.cpp and extract.h, the errors is the same with above. Maybe I met something serious. If ...
by Bryan
Sun Jun 25, 2017, 21:43
Forum: Direct Graphical Models
Topic: DGM compile error
Replies: 13
Views: 29907

Re: DGM compile error

Thank you for your patient reply. I have followed your first propose and change to VS2015 platform. I built 14 projects successfully. Then I didn't move content of install folder to build folder as the instruction (http://research.project-10.de/dgm/doc/a00002.html#sec_install_dgm) said. Next I new a...
by Bryan
Tue Jun 20, 2017, 21:57
Forum: Direct Graphical Models
Topic: DGM compile error
Replies: 13
Views: 29907

Re: DGM compile error

I have downloaded the DGM opencv_2.4.13 branch from github. And I downloaded opencv2.4.13.exe and extracted the folder including build and source folder. And I compiled with cmake-gui and open .sln with 2013 VS and compile, then get the following result.
by Bryan
Sun Jun 18, 2017, 14:30
Forum: Direct Graphical Models
Topic: DGM compile error
Replies: 13
Views: 29907

Re: DGM compile error

I use DGM 1.5.1. So I must change my VS to 2015. If i use 1.4.2, could I still use vs2013?

Go to advanced search