learnopencv icon indicating copy to clipboard operation
learnopencv copied to clipboard

Old code, why not use PyTorch 1.7.1 with mixed precision

Open tadam98 opened this issue 3 years ago • 0 comments

Hi,

The code used in https://learnopencv.com/how-to-convert-a-model-from-pytorch-to-tensorrt-and-speed-up-inference/ is very old. wht not use mixed precision offered automatically with PyTorch 1.7.1 (with its corresponding torchvision 0.82) autocast ? and then compare ?

Best, Mickey

tadam98 avatar Apr 02 '21 05:04 tadam98