facebookresearch/maskrcnn-benchmark

Half/mixed-precision is not faster

Open

#1,062 创建于 2019年8月27日

在 GitHub 查看
 (3 评论) (0 反应) (0 负责人)Python (9,161 star) (2,574 fork)batch import
help wanted

描述

❓ Questions and Help

As written in https://github.com/facebookresearch/maskrcnn-benchmark/issues/807#issuecomment-500112612 , DTYPE "float16" does not make training faster( and takes the same amount of memory) when tested with e2e_mask_rcnn_R_50_FPN_1x.yaml. Is this normal or am I doing something wrong? I also want to know if I can make inference faster by FP16(I tried model.half() in test_net, but doesn't work).
My environment is RTX Titan, cudnn 7.6, cuda10.0, driver version Driver Version: 418.67, pytorch-1.2.0, ubuntu 18.04.

贡献者指南