Используйте функцию numpy.save
( документация ) или numpy.savez_compresion
функция ( документация ).
Прочитайте документацию, прежде чем задать вопрос.
Пример кода:
import numpy as np
image = np.random.randint(0, 200, (199818,50,50,3), dtype=np.uint8)
image2 = np.random.randint(0, 200, (1998,50,50,3), dtype=np.uint8)
np.savez_compressed("test.npz", image, img=image2)
img_dkt = np.load("test.npz")
print("First_array:", img_dkt["arr_0"].shape, "equality", np.all(image == img_dkt["arr_0"]))
print("second_array:", img_dkt["img"].shape, "equality", np.all(image2 == img_dkt["img"]))