Recommended way to convert onnx or pytorch to tfjs?

Is there any way to pass straight from onnx or pytorch models to tfjs?

@Mah_Neh,

As per my knowledge, the recommend conversion is as follows

PyTorch → ONNX → Tensorflow → Tensorflow.js

Thank you!

Yes that is what I do however it fails frequently