Hi,
In general, you should avoid pinging people directly as it just adds more noise…
For your issue, are you sure that you don’t set your cnn’s weights not to require gradients?
You should make sure that pred requires grad as well.