# TMLP LoadWeights

**URL:** <https://root-forum.cern.ch/t/tmlp-loadweights/36764>\
**Category:** Newbie\
**Created:** [November 11, 2019, 8:05am UTC](https://root-forum.cern.ch/t/tmlp-loadweights/36764 "2019-11-11T08:05:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alon\_Joffe](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/alon_joffe/32/20206_2.png) [@Alon\_Joffe](https://root-forum.cern.ch/u/Alon_Joffe)\
**Post date:** [November 11, 2019, 8:05am UTC](https://root-forum.cern.ch/t/tmlp-loadweights/36764/1 "2019-11-11T08:05:34Z")

</div>

Hi,

I tried to find something on the site but could not.  
I have a problem where I am trying to use root to train a TMLP class on a set of data, save the weights and load the trained TMLP class on a different server to apply the ANN on different data.  
When I save the weights using the DumpWeights method, I can see the generated text file which has non zero weights.  
Then, when I try loading the weights using the LoadWeights method, the ANN doesn’t perform as expected, and if I try to use the DumpWeights method afterwards I get a text file with all zero weights.  
Has someone else encoutered this problem?

Regards,  
Alon Joffe

_ROOT Version:_ Not Provided  
_Platform:_ Not Provided  
_Compiler:_ Not Provided

* * *
