[Insight-users] LBFGSOptimizer bug (?)

Tim Allman dr.tim.allman at gmail.com
Thu Mar 7 13:41:22 EST 2013


I'm working on an iMac (OSX Lion). The libraries were compiled using gcc 
with the default options. I built it with testing turned off but I can 
see what happens.

Tim


On 13-03-07 01:02 PM, Bradley Lowekamp wrote:
> What compiler are you using?  When I use Intel's it's too aggressive with it floating point optimization. I believe the Vnl tests fail for this. Do these pass for you? I have to compile itk with -fprecise? to get the floating point  correct.
>
> On Mar 7, 2013, at 12:24 PM, Tim Allman <dr.tim.allman at gmail.com> wrote:
>
>> I have come across some odd behaviour with the LBFGSOptimizer.
>>
>> In my project I have been using ITK 4.3 debug build libraries with good results. The trace printout indicated normal convergence and a call to  GetStopConditionDescription() indicated "LBFGSOptimizer: Function tolerance reached".
>>
>> However, when I switched to the release build, GetStopConditionDescription()  returned "LBFGSOptimizer: Failure". I dug into the call with my debugger and the problem seems to lie in the vnl_lbfgs code.
>>
>> Is anyone aware of this behaviour? Is there a work around?
>>
>> Thanks,
>>
>> Tim
>>
>> -- 
>> Tim Allman, Ph.D.
>> 35 Margaret Street,
>> Guelph Ontario N1E 5R6
>> Canada
>>
>> <dr_tim_allman.vcf>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.php
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users

-- 
Tim Allman, Ph.D.
35 Margaret Street,
Guelph Ontario N1E 5R6
Canada

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dr_tim_allman.vcf
Type: text/x-vcard
Size: 159 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20130307/7438be44/attachment.vcf>


More information about the Insight-users mailing list