terzakig / sqpnp

C++ Implementation of the SQPnP algorithm
BSD 3-Clause "New" or "Revised" License
150 stars 26 forks source link

Foam and misc #3

Closed mlourakis closed 4 years ago

terzakig commented 4 years ago

OK πληροφοριακά, καλά νέα:

α) Το nan είναι όντως "σκουπίδι" (!). Για κάποιο λόγο που μάλλον έχει να κάνει με τη διαχείριση της μνήμης στο stack, το δεύτερο SQPSolution στο array SQPSolutions solutions[2} (δηλ. αυτό που έχει index 1) έχει sq_error = -nan ακριβώς μετά το declaration. Πιθανόν υπάρχει κάτι προηγούμενο σε αυτή τη θέση στο stack που βγάζει αυτό το nan.

β) Η ακρίβεια στο projection error είναι σχεδόν έως και μια δύναμη του 10 καλύτερη από του matlab (αυτά υπολογισμένα μέσα στο matlab αφού έχω κάνει paste τις λύσεις της C++). Το ίδιο βλέπω όμως και στα random experiment σε 500 πειράματα.

γ) Το FOAM δίνει επιτάχυνση από 50 έως και 100 μsec! Το δικό σου branch δίνει πολύ βελτιωμένους χρόνους σε σχέση με το αρχικό.


From: Manolis Lourakis notifications@github.com Sent: Saturday, September 26, 2020 10:41 PM To: terzakig/sqpnp sqpnp@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [terzakig/sqpnp] Foam and misc (#3)


You can view, comment on, or merge this pull request online at:

https://github.com/terzakig/sqpnp/pull/3

Commit Summary

File Changes

Patch Links:

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/terzakig/sqpnp/pull/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACHSFUIFI23TU25EHRJTYDSHY7V5ANCNFSM4R3CTNQQ.

mlourakis commented 4 years ago

Mpravo, poly wraia. Na kanw kai kanena profiling na doume pou einai (an exei) ta bottlenecks?

On 2020-09-27 01:02, George wrote:

OK πληροφοριακά, καλά νέα:

α) Το nan είναι όντως "σκουπίδι" (!). Για κάποιο λόγο που μάλλον έχει να κάνει με τη διαχείριση της μνήμης στο stack, το δεύτερο SQPSolution στο array SQPSolutions solutions[2} (δηλ. αυτό που έχει index 1) έχει sq_error = -nan ακριβώς μετά το declaration. Πιθανόν υπάρχει κάτι προηγούμενο σε αυτή τη θέση στο stack που βγάζει αυτό το nan.

β) Η ακρίβεια στο projection error είναι σχεδόν έως και μια δύναμη του 10 καλύτερη από του matlab (αυτά υπολογισμένα μέσα στο matlab αφού έχω κάνει paste τις λύσεις της C++). Το ίδιο βλέπω όμως και στα random experiment σε 500 πειράματα.

γ) Το FOAM δίνει επιτάχυνση από 50 έως και 100 μsec! Το δικό σου branch δίνει πολύ βελτιωμένους χρόνους σε σχέση με το αρχικό.


From: Manolis Lourakis notifications@github.com Sent: Saturday, September 26, 2020 10:41 PM To: terzakig/sqpnp sqpnp@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [terzakig/sqpnp] Foam and misc (#3)


You can view, comment on, or merge this pull request online at:

https://github.com/terzakig/sqpnp/pull/3

Commit Summary

  • Added NOMP solution with FOAM
  • Changes for compiling with the latest stable eigen version
  • Create main_plain.cpp
  • Timed the solver
  • Update README.md

File Changes

Patch Links:

-- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/terzakig/sqpnp/pull/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AACHSFUIFI23TU25EHRJTYDSHY7V5ANCNFSM4R3CTNQQ.

You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/terzakig/sqpnp/pull/3#issuecomment-699553681 [2] https://github.com/notifications/unsubscribe-auth/AOMPUZFWX7JVI3XZPKEQOOTSHZQJFANCNFSM4R3CTNQQ