Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of Iterations #35

Closed
sandwich25 opened this issue Sep 8, 2020 · 2 comments
Closed

Number of Iterations #35

sandwich25 opened this issue Sep 8, 2020 · 2 comments

Comments

@sandwich25
Copy link

Hi,

  1. How to view how many number of iterations have elapsed?
  2. Even though I have set the max iteration to 1000, the program still end the same amount of time taken for 50 max iterations. My guess is the program still end at 50 iteration. How can I prevent this from happening?

Thanks in advance.

@neka-nat
Copy link
Owner

neka-nat commented Sep 9, 2020

Hi @sandwich25 ,

Thank you for the questions.

  1. I added a function to output the log. You can set up the logger in the latest master.
    And the registration functions output iterations and criteria.
import logging
log = logging.getLogger('probreg')
log.setLevel(logging.DEBUG)
  1. If the change in criteria is less than tol parameter, the calculation is finished.
    Please set tol to a small value.
tf_param, _, _ = cpd.registration_cpd(source, target, tol=1.0e-9)

@sandwich25
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants