Open jacekpoplawski opened 3 years ago
Is it possible to use EfficientNet-PyTorch with half / mixed precision somehow? I know the mixed precision is supported by PyTorch for about a year, but what about pretrained weights?
In Pytorch, you can convert the pretrained weights into torch.half16 with the following way: model.half()
model.half()
but this is not the recommended way. Instead you have to use torch.cuda.amp.autocast while training.
For more details
Is it possible to use EfficientNet-PyTorch with half / mixed precision somehow? I know the mixed precision is supported by PyTorch for about a year, but what about pretrained weights?