In the inference part, we should use the selected image to generate the latent z value() as show in 'z_base = graph.generate_z(dataset[base_index]["x"])' But in the glow/models.py, we will repeat to (B, 1, 1, 1). I do not why and the operator will need too much GPU memory. And I always got out of memory. Could you help me?