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

Recursive Micro-Cycle Scheme #211

Open
sheepforce opened this issue May 19, 2022 · 1 comment
Open

Recursive Micro-Cycle Scheme #211

sheepforce opened this issue May 19, 2022 · 1 comment

Comments

@sheepforce
Copy link
Contributor

The current (0.7.6.post1) implementation of the microcycle follows the scheme:

while (not isOptimised(layer[n])):
  for i in range(1, n):
  while(not isOptimised(layer[i])):
    optStep(layer[i])
  optStep(layer[i])

instead I suggest a scheme more in the spirit of recursive layers:

def optimise(n):
  while (not isOptimised(layer[n]):
    if i <= 0:
      break
    optimise(layer[n - 1])
    optStep(layer[n])

Please forgive me my foolish attempts to write python. :)

@eljost
Copy link
Owner

eljost commented Sep 5, 2022

Low(er)-level layers should be optimized until they are converged and not only for a fixed number of cycles.

It should be possible to converge outer layers looser than the inner, high-level layer.

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