diff --git a/demo.py b/demo.py index c72d0a8..d688dde 100644 --- a/demo.py +++ b/demo.py @@ -50,9 +50,10 @@ # Generate correlation matrix for tilt. Do this once for each different turbulence parameter. tilt_mat(im_size, D, r0, L) -# Simulate +# Simulate. simulator = Simulator(D/r0, im_size).to(device, dtype=torch.float32) +#Note that the current version does not support batched images. Only one frame at a time. out = simulator(x).detach().cpu().numpy() if len(out.shape) == 3: