def METHOD_NAME(self):
    """If the program could not connect to Visdom server, this function will start a new server at port < self.port > """
    cmd = sys.executable + ' -m visdom.server -p %d &>/dev/null &' % self.port
    print('\n\nCould not connect to Visdom server. \n Trying to start a server....')
    print('Command: %s' % cmd)
    Popen(cmd, shell=True, stdout=PIPE, stderr=PIPE)