The initial issue is that your activation just has a single sample and a single pixel. The suggested fixes would either increase the spatial size or increase the batch size directly.
What are you passing to the cuda() call?
Is the first issue solved now?