def METHOD_NAME(args):
    """
    Set random seed and the device.
    """
    utils.set_seed(args.seed)
    utils.show_env_info()
    env_info = utils.get_sys_env()
    place = 'gpu' if env_info['GPUs used'] else 'cpu'
    utils.set_device(place)