[Tubetk-developers] ParameterSerializer classes are on Gerrit
Stephen Aylward
stephen.aylward at kitware.com
Sat Feb 16 23:43:09 EST 2013
Interesting idea! My thought is that it could be independent of itk for
the apps. Something for serializing a command line.
Tracks version of code used, args, inputs, and whatever data the developer
feels is necessary.
S
--
Sent via phone.
Stephen R. Aylward, Ph.D.
Senior Director of Operations, NC
Kitware, Inc.
On Feb 16, 2013 8:30 PM, "Matt McCormick" <matt.mccormick at kitware.com>
wrote:
> That sounds like a great idea. Currenty, a class and all its
> component classes get serialized. We could also possibly make a class
> that, given a class at the tip of a pipeline, would travel the
> pipeline and also serialize all the inputs.
>
> Thanks,
> Matt
>
> On Sat, Feb 16, 2013 at 8:20 PM, Stephen Aylward
> <stephen.aylward at kitware.com> wrote:
> > Can we extend this to serialization of applications?
> >
> > For example, in CalaTK each application can read/write a json file
> > that contains its parameters. I envision such capabilities as an
> > enhancement to GenerateCLP.
> >
> > s
> >
> > On Sat, Feb 16, 2013 at 1:42 PM, Matt McCormick
> > <matt.mccormick at kitware.com> wrote:
> >> Hi,
> >>
> >> I finished the ParameterSerializer classes, and the patch is up on
> >> Gerrit for review:
> >>
> >> http://review.source.kitware.com/#/c/9602/
> >>
> >> These classes provide a way to write and read the parameters from an
> >> analysis to a file to experiment with parameters, store parameters for
> >> later reproduction, etc. Some nice things:
> >>
> >> - It does not require instrumentation of any of the target classes,
> >> which keeps a nice separation and allows us to create a Serializer
> >> class for any itk::LightObject.
> >> - The archiver is sufficiently separated such that it would easy to
> >> implement an HDF5, XML, MetaIO, etc., archiver in the future.
> >> - Parameters that are also objects are recursively serialized without
> >> duplication of code.
> >>
> >> Please take a look if you have a chance.
> >>
> >> Thanks,
> >> Matt
> >> _______________________________________________
> >> Tubetk-developers mailing list
> >> Tubetk-developers at tubetk.org
> >> http://public.kitware.com/cgi-bin/mailman/listinfo/tubetk-developers
> >
> >
> >
> > --
> >
> > ==============================
> > Stephen R. Aylward, Ph.D.
> > Senior Director of Operations - North Carolina
> > Kitware, Inc. - North Carolina Office
> > http://www.kitware.com
> > stephen.aylward (Skype)
> > (919) 969-6990 x300
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/tubetk-developers/attachments/20130216/7beb3fac/attachment-0001.html>
More information about the Tubetk-developers
mailing list