Closed Jamy-L closed 6 months ago
The new dataset is working but not connected yet. The speedup is roughly x2, and the memory cost is very low.
Pytest added for the new dataset, plus a new test with a short gpu vs cpu benchmark. These tests are skipped if cuda is not installed (numba.cuda.is_available()
).
Fixed a bug for ds=1
that crashed the GPU dataloader !
The dataloader in grey mode will now output shape [h, w, 1] instead of shape [h, w, 3] (duplicated channel). The visualisation may need adjustments
The current generator is currently very slow, as it requires to compute a high resolution image and downsample it by a factor of up to 5.
A solution is to implement that using numba kernels to use the GPU.
To do: