Skip to content

Commit

Permalink
update the default number of iterations to new paper evaluation; incr…
Browse files Browse the repository at this point in the history
…ement minor version
  • Loading branch information
Korbinian Eckstein committed May 22, 2024
1 parent 048bd22 commit 2720e6a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tgv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ end

function get_default_iterations(res, step_size)
# Heuristic formula
it = 2000 # default for res=[1,1,1]
it = 3200 # default for res=[1,1,1]
min_iterations = 1000 # even low res data needs at least 1000 iterations
it = max(min_iterations, it / prod(res)^0.8)
it /= step_size^0.6
it = max(min_iterations, it / prod(res)^0.42)
it /= step_size^0.6 # increasing the step size reduces the required iterations
return round(Int, it)
end

Expand Down

2 comments on commit 2720e6a

@korbinian90
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/107400

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.0 -m "<description of version>" 2720e6ac8b298a16886e55daa0cf819a07cee61c
git push origin v0.5.0

Please sign in to comment.