https://github.com/ClementPinard/FlowNetPytorch/blob/60c72a9c054e6e525eca5cc129ccafc11758d88f/main.py#L113 Code is crashing because the usage seed_split instead we should use: if args.split_seed is not None: np.random.seed(args.split_seed)