{"action":"created","issue":{"url":"https://api.github.com/repos/cvlab-dresden/DSAC/issues/12","repository_url":"https://api.github.com/repos/cvlab-dresden/DSAC","labels_url":"https://api.github.com/repos/cvlab-dresden/DSAC/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/cvlab-dresden/DSAC/issues/12/comments","events_url":"https://api.github.com/repos/cvlab-dresden/DSAC/issues/12/events","html_url":"https://github.com/cvlab-dresden/DSAC/issues/12","id":298960288,"number":12,"title":"End-to-End training fails","user":{"login":"mtee","id":1214236,"avatar_url":"https://avatars0.githubusercontent.com/u/1214236?v=4","gravatar_id":"","url":"https://api.github.com/users/mtee","html_url":"https://github.com/mtee","followers_url":"https://api.github.com/users/mtee/followers","following_url":"https://api.github.com/users/mtee/following{/other_user}","gists_url":"https://api.github.com/users/mtee/gists{/gist_id}","starred_url":"https://api.github.com/users/mtee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtee/subscriptions","organizations_url":"https://api.github.com/users/mtee/orgs","repos_url":"https://api.github.com/users/mtee/repos","events_url":"https://api.github.com/users/mtee/events{/privacy}","received_events_url":"https://api.github.com/users/mtee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-02-21T12:58:06Z","updated_at":"2018-03-21T12:34:57Z","closed_at":"2018-03-21T12:34:57Z","author_association":"NONE","body":"I can do the component-training fine, but when I start the end-to-end training afterwards the program crashes in this line:\r\n\r\nhttps://github.com/cvlab-dresden/DSAC/blob/master/core/cnn.h#L474\r\n\r\nThe error message is \r\n\r\n> OpenCV Error: Assertion failed (type == B.type()) in gemm, file /home/mikhail/proglibs/opencv/modules/core/src/matmul.cpp, line 1558\r\n\r\nI debugged this line and found out that the rotation matrix has the type CV_32F, while two others have type CV_64F. If i naively convert the matrix type in the line above, the programm crashes somewhere else and I am not ready to dive into this rabbit hole yet. \r\nIf I log the type of the hyps[h] here:\r\n\r\nhttps://github.com/cvlab-dresden/DSAC/blob/master/core/cnn.h#L661\r\n\r\nit is always 5, i.e. CV_32F."},"comment":{"url":"https://api.github.com/repos/cvlab-dresden/DSAC/issues/comments/374921683","html_url":"https://github.com/cvlab-dresden/DSAC/issues/12#issuecomment-374921683","issue_url":"https://api.github.com/repos/cvlab-dresden/DSAC/issues/12","id":374921683,"user":{"login":"ebrach","id":17846386,"avatar_url":"https://avatars3.githubusercontent.com/u/17846386?v=4","gravatar_id":"","url":"https://api.github.com/users/ebrach","html_url":"https://github.com/ebrach","followers_url":"https://api.github.com/users/ebrach/followers","following_url":"https://api.github.com/users/ebrach/following{/other_user}","gists_url":"https://api.github.com/users/ebrach/gists{/gist_id}","starred_url":"https://api.github.com/users/ebrach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ebrach/subscriptions","organizations_url":"https://api.github.com/users/ebrach/orgs","repos_url":"https://api.github.com/users/ebrach/repos","events_url":"https://api.github.com/users/ebrach/events{/privacy}","received_events_url":"https://api.github.com/users/ebrach/received_events","type":"User","site_admin":false},"created_at":"2018-03-21T12:34:57Z","updated_at":"2018-03-21T12:34:57Z","author_association":"CONTRIBUTOR","body":"I added the type check to cnn.h. Things should now work with OpenCV 3.x"}}
{"actor":{"display_login":"ebrach"}}