Skip to content

Commit

Permalink
Merge pull request #918 from lsst/tickets/DM-38454
Browse files Browse the repository at this point in the history
DM-38454: Add the ModelPackage storage class.
  • Loading branch information
NimSed committed Dec 15, 2023
2 parents cc65914 + 964113a commit 0e097e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/changes/DM-38454.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added new storageClass and formatter for NNModelPackagePayload -- an interface between butler and pretrained neural networks, currently implemented in pytorch.
1 change: 1 addition & 0 deletions python/lsst/daf/butler/configs/datastores/formatters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,4 @@ SpectractorFitParameters: lsst.atmospec.formatters.SpectractorFitParametersForma
ScarletModelData: lsst.daf.butler.formatters.json.JsonFormatter
MetricMeasurementBundle: lsst.daf.butler.formatters.json.JsonFormatter
MultipleCellCoadd: lsst.cell_coadds.CellCoaddFitsFormatter
NNModelPackagePayload: lsst.meas.transiNet.modelPackages.NNModelPackageFormatter
2 changes: 2 additions & 0 deletions python/lsst/daf/butler/configs/storageClasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -411,3 +411,5 @@ storageClasses:
pytype: lsst.analysis.tools.interfaces.MetricMeasurementBundle
MultipleCellCoadd:
pytype: lsst.cell_coadds.MultipleCellCoadd
NNModelPackagePayload:
pytype: lsst.meas.transiNet.modelPackages.formatters.NNModelPackagePayload

0 comments on commit 0e097e9

Please sign in to comment.