This ONNX model is a port of the original PyTorch big-lama model.
HG Space: https://huggingface.co/spaces/Carve/LaMa-Demo-ONNX
There are two versions of the model:
lama_fp32.onnx (RECOMMENDED)This version was exported using the old torch to ONNX converter (torch.onnx.export).
Notes:
irfft and rfftn functions in ffc.py.if you need other resolution - export it using our jupyter notebook
lama.onnx (NOT RECOMMENDED)This version was exported using the new torch to ONNX converter (torch.onnx.dynamo_export).
Notes:
onnxscript).torch.onnx.dynamo_export and optimization of the ONNX model.Original image:

lama_fp32.onnx - output:

lama.onnx - output:

Original model output:

This ONNX model is a port of the original PyTorch big-lama model.
HG Space: https://huggingface.co/spaces/Carve/LaMa-Demo-ONNX
There are two versions of the model:
lama_fp32.onnx (RECOMMENDED)This version was exported using the old torch to ONNX converter (torch.onnx.export).
Notes:
irfft and rfftn functions in ffc.py.if you need other resolution - export it using our jupyter notebook
lama.onnx (NOT RECOMMENDED)This version was exported using the new torch to ONNX converter (torch.onnx.dynamo_export).
Notes:
onnxscript).torch.onnx.dynamo_export and optimization of the ONNX model.Original image:

lama_fp32.onnx - output:

lama.onnx - output:

Original model output:
