def show_weights(model_path, rescale='individual', border=False, out=None):
 pv = get_weights_report.get_weights_report(model_path=model_path, rescale=rescale, border=border)
 if (out is None):
  pv.show()
 else:
  pv.save(out)

def show_weights ( model_path , rescale = 'individual' , border = False , out = None ) : pv = get_weights_report . get_weights_report ( model_path = model_path , rescale = rescale , border = border ) if ( out is None ) : pv . show ( ) else : pv . save ( out )
show or save weights to an image for a pickled model parameters model_path : str path of the model to show weights for rescale : str writeme border : bool .