[Insight-users] LBFGS optimizer

Bill Lorensen bill.lorensen at gmail.com
Thu Nov 1 20:42:40 EDT 2007


Tomash,

This is a good idea. Please add a bug at:
http://public.kitware.com/Bug/bug_report_advanced_page.php as a feature
request and assign it to me,

Bill

On Nov 1, 2007 7:35 AM, Tomáš Kazmar <Tomash.Kazmar at seznam.cz> wrote:

> Hi all,
>
>  I use LBFGS optimizer in 2D image registration, optimizer parameters are
> set
> to reasonable values and work for almost all images I need it to. The
> problem is
> when optimization fails I would like to change parameters according to why
> optimization failed. Is there any way how to get value of INFO variable
> that is
> in the description of error?
>
> vnl_lbfgs: ** EEEK **
>  IFLAG= -1  LINE SEARCH FAILED. SEE DOCUMENTATION OF ROUTINE MCSRCH ERROR
> RETURN OF LINE SEARCH: INFO= 4 POSSIBLE CAUSES: FUNCTION OR GRADIENT ARE
> INCORRECT OR INCORRECT TOLERANCESExceptionObject caught !
>
> itk::ExceptionObject (0x82bb5e8)
> Location: "virtual void itk::LBFGSOptimizer::StartOptimization()"
> File:
> /afs/ms/u/k/kazmt1am/BIG/diplo/itk/Insight/Code/Numerics/itkLBFGSOptimizer.cxx
> Line: 263
> Description: itk::ERROR: LBFGSOptimizer(0x9976048): Error occured in
> optimization
>
> Than it would be possible to rerun the optimization, eg. with larger step,
> smaller
> step or changed tollerances.
>
> I would appreciate any help.
>
> Tomash
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20071101/8151753e/attachment.html


More information about the Insight-users mailing list