work on tryUpdates structure#124
Open
dstndstn wants to merge 13 commits into
Open
Conversation
…ethod to choose the step sizes & parameter updates
- rename BatchImageDerivs to BatchGalaxyProfiles, removing some terms only required for derivatives - factor out code to produce BatchGalaxyProfiles and BatchImageParams in factored_optimizer.py - factor out code that renders galaxy profiles - sketch out the rest of tryUpdates
constrained_optimizer.py
by using getImage(use_gpu=True) and getInvError(use_gpu=True)
rounding error propagation from tractor/miscutils.py in lanczos filter logic. Use constrained_optimizer.py tryUpdates for now even though tryUpdates is now implemented in factored_optimizer.py since there are slight differences. Use GPU copies when avaialble of arrays and cache them. Float32 and complex64 and del arrays when done to make sure no OutOfMemoryExceptions. In batch_mixture_profiles, chunk data for 5D array F along dimension used to sum to Fsum for large arrays. Use gpu_lsqr_optimizer.py for background fitting.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.