Thanks a lot.
This native api gave me the following error:
detectron2/modeling/poolers.py", line 249, in forward
output[inds] = pooler(x[level], pooler_fmt_boxes_level)
RuntimeError: Index put requires the source and destination dtypes match, got Float for the destination and Half for the source.
Can you please help me how to resolve it.
Also how can I use O1 and O2 levels too  like we   do in https://nvidia.github.io/apex/amp.html 6?
Walid