| Algorithm 1. Coarse-to-Fine Prediction. |
| Require: Trained WT-DFN model |
|
for do (batch size ) 1: Obtain raw probability and out attention maps by Equation (1); 2: Calculate normalize by Equation (2); 3: Obtain crop image and erase image by Equations (3) and (4), respectively; 4: Predict fine-grained probability , ; 5: Calculate the final prediction by Equation (5); end for return |