I have parameters of retinanet in the format of h5 and I want to convert it .pth file because when I try to load parameters as h5 file to pytorch, I get this error : UnpicklingError: invalid load key, ‘H’.
What can I do ?