maml icon indicating copy to clipboard operation
maml copied to clipboard

Error: No gradient defined for operation (op type: CropAndResizeGradImage)

Open john81923 opened this issue 7 years ago • 0 comments

Hi, I'm running a model in maml training. but an error occur: No gradient defined for operation ``'tower0/gradients/tower0/roi_align/crop_and_resize/CropAndResize_grad/CropAndResizeGradImage' (op type: CropAndResizeGradImage)

I've noticed that in special_grads.py you wrote @ops.RegisterGradient("MaxPoolGrad") def _MaxPoolGradGrad(op, grad): an register for gradient, I'm not sure how it works, buts seem relative to my error. And it only occurs when I do second order differentiation. I'd like to know how can I write one for CropAndResizeGradImage for my model.

I have been looking on the internet and haven't found a solution please help thank you

john81923 avatar Jan 21 '19 03:01 john81923