Update README.md
Browse files
README.md
CHANGED
|
@@ -15,9 +15,11 @@ This version was exported using the old torch to ONNX converter (`torch.onnx.exp
|
|
| 15 |
|
| 16 |
**Notes:**
|
| 17 |
1. **Custom FourierUnitJIT**: A custom [FourierUnitJIT](https://github.com/Carve-Photos/lama/blob/main/saicinpainting/training/modules/ffc.py) implementation is used since the original cannot be directly ported to ONNX without overhead. The result is identical to the original model.
|
| 18 |
-
2. **Fixed Input Shape**: The input shape is fixed at
|
| 19 |
3. **Opset Version 17**: This model uses opset version 17.
|
| 20 |
|
|
|
|
|
|
|
| 21 |
### 2. `lama.onnx` (NOT RECOMMENDED)
|
| 22 |
|
| 23 |
This version was exported using the new torch to ONNX converter (`torch.onnx.dynamo_export`).
|
|
|
|
| 15 |
|
| 16 |
**Notes:**
|
| 17 |
1. **Custom FourierUnitJIT**: A custom [FourierUnitJIT](https://github.com/Carve-Photos/lama/blob/main/saicinpainting/training/modules/ffc.py) implementation is used since the original cannot be directly ported to ONNX without overhead. The result is identical to the original model.
|
| 18 |
+
2. **Fixed Input Shape**: The input shape is fixed at 512x512 pixels. Although dynamic input shapes are possible, they would require resolving issues with dynamic padding in the `irfft` and `rfftn` functions in `ffc.py`.
|
| 19 |
3. **Opset Version 17**: This model uses opset version 17.
|
| 20 |
|
| 21 |
+
> if you need other resolution - export it using our jupyter notebook.
|
| 22 |
+
|
| 23 |
### 2. `lama.onnx` (NOT RECOMMENDED)
|
| 24 |
|
| 25 |
This version was exported using the new torch to ONNX converter (`torch.onnx.dynamo_export`).
|