ned_weights in the __init__ function. When the weights are initialized, for all variables whose names and sizes match the variables saved in the pretrained weights file will get their weights initialized to the ones saved in the pretrained file. </p>
<pre><code>
    def __init__(self,conf):
        PoseBase.__init__(self,conf)
        script_dir = os.path.dirname(os.path.realpath(__file__))
        wt_dir = os.path.join(script_dir, 'pretrained')
        self.pretrained_weights =  os.path.join(wt_dir,'resnet