def load_weights(path: str):
    """
    Load NN weights
    :param path: weights file path path
    :return: NN weights object
    """
    try:
        model = np.load(path)
        return model
    except FileNotFoundError:
        print("Can not find {}, didn't load anything".format(path))
        return None

    Load NN weights
    :param path: weights file path path
    :return: NN weights object
    
metadrive/examples/ppo_expert/numpy_expert.py