(data)
| 33 | |
| 34 | |
| 35 | def cleanup(data): |
| 36 | X = data[0][:64, -1] |
| 37 | X = np.asarray([cv2.resize(x.transpose(1, 2, 0), (160, 80)) for x in X]) |
| 38 | X = X/127.5 - 1. |
| 39 | Z = np.random.normal(0, 1, (X.shape[0], z_dim)) |
| 40 | return Z, X |
| 41 | |
| 42 | |
| 43 | def generator(batch_size, gf_dim, ch, rows, cols): |
nothing calls this directly
no outgoing calls
no test coverage detected