You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
face_alignment_net=torch.jit.load('2DFAN4-cd938726ad.zip')
face_alignment_net.eval()
img_tensor=torch.randn(1, 3, 256, 256)
ifimg_tensor.dtype!=torch.float32:
img_tensor=img_tensor.to(torch.float32)
torch.onnx.export(face_alignment_net, img_tensor,
'landmark.onnx',
opset_version=18, # The ONNX version to export the model tohe model's input namesinput_names=['input0'], # The model's input namesoutput_names=['output0'] #
)
# Load the ONNX modelonnx_model=onnx.load('landmark.onnx')
# Check that the model is well-formedonnx.checker.check_model(onnx_model)
hello @1adrianb is there an onnx runtime or openvino version for this pytorch model?
https://www.adrianbulat.com/downloads/python-fan/s3fd-619a316812.pth
your response will be appreciated
The text was updated successfully, but these errors were encountered: