prash-p
prash-p
Seems like torch doesn't like ndarrays, and expects torch tensors. Correct usage is: ``` plot_image_grid([imgs['HR_np'], out_HR_noprior_np, out_HR_TV_np, out_HR_deep_np], factor=8, nrow=2, interpolation='lanczos'); ``` Where `out_X_np = np.clip(var_to_np(net(net_input)), 0, 1)` after each...
When I tested in December, no other image size would work except 256 x 256, even when I changed the IMAGE_HEIGHT and IMAGE_WIDTH parameters. Would appreciate if @AlamiMejjati could direct...
@nickkimer went back to this repo and realised that you also need to change line 30 in main.py: `self._size_before_crop ` to your desired size. It has to be the same...