Sure. I already trying to solve it for 3 days straight. The model is (GitHub - neuralchen/SimSwap: An arbitrary face-swapping framework on images and videos with one single trained model!). Im using the pretrained 512HQ model. (Actual model is in fs_networks_512 named Generator_Adain_Upsample).
Here is link to folder on google drive with 2 models:
true_visual_512_opset13_nc_float32cast.onnx - just added .to(‘float32’)
true_visual_512_opset13_nc_float32cast_int32.onnx - added .to(‘float32’) and also used onnx-typecast script.
Also when im trying to run model on onnx-runtime (Python) which was converted with onnx-typecast script, Im getting this error:
“[ONNXRuntimeError] : 10 : INVALID_GRAPH : Load model from /content/onnx_models/true_visual_512_opset13_nc_float32cast_int32.onnx failed:This is an invalid model. Type Error: Type ‘tensor(int32)’ of input parameter (219) of operator (Unsqueeze) in node (Unsqueeze_76) is invalid.”
UPD:
And with same model on onnxruntime-web(nodeJS) with webgl (works well on wasm = cpu, but too long):
“failed to inference ONNX model: Error: unrecognized input ‘’ for node: Resize_1242.”. I suppose its because some of params are not converted to INT32 properly.
Resize block (have 4 of them):

изображение720×731 26.7 KB