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

networks/jwst-spec-v1-and-image-v2 #58

Merged
merged 12 commits into from
Apr 6, 2024

Conversation

alphasentaurii
Copy link
Collaborator

  • builder.trained_networks jwst_cal.zip includes updated (v2) img3_reg and new spec3_reg predictive models for image and spectroscopic data

  • skopes.jwst.cal.predict generates predictions for spectrosopic datasets in addition to image data. This update also allows further customization of user arguments:

    • obs to specify selection of a program ID + observation number
    • input_path accepts either a directory (default) or a filename. If filename, the script will try to find any input exposures that belong to the same program and observation number as that file.
    • sfx attribute is now customizable on instantiation of the class object (default is '_uncal.fits')
  • All pre-trained networks saved and loaded using keras archive format

@alphasentaurii alphasentaurii merged commit 83b0453 into spacetelescope:develop Apr 6, 2024
6 checks passed
@alphasentaurii alphasentaurii deleted the jwst-spec-model branch April 6, 2024 02:29
alphasentaurii added a commit that referenced this pull request Apr 6, 2024
* use updated encoder keypairs for ingest, scrub, and predict

* update visitype encodings

* added new tests, updated docstrings for jwst predict

* update zenodo ID

* updated hash vals and sizes for keras archive formatted model files

* add blueprint for spec3_reg

* set keras_archive=True for all pretrained networks

* min scikit-learn 1.3.2

* update predictions for new models

* create parent directory path before saving keras archive

* ruff fix

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

Successfully merging this pull request may close these issues.

1 participant