反向传播断开

在卷积之后加了一个特征提取,反向传播失败,请问一下这种情况怎么办呢?,报错信息:
UserWarning: Gradient of Parameter lenet0_conv0_weight on context gpu(0) has not been updated by backward since last step. This could mean a bug in your model that made it only use a subset of the Parameters (Blocks) for this iteration. If you are intentionally only using a subset, call step with ignore_stale_grad=True to suppress this warning and skip updating of Parameters with stale gradient


1赞