jia yi ge shuffle np.random.seed(200) np.random.shuffle(X_train) np.random.seed(200) np.random.shuffle(Y_train) 设置一次seed,有效期只有一次 意思就是每次shuffle之前,必须有一个seed