AgentFormer icon indicating copy to clipboard operation
AgentFormer copied to clipboard

Single inference script

Open MichaelHannalla opened this issue 4 years ago • 3 comments

Is there any documentation or instructions for using the code in this repo for single inference step?

MichaelHannalla avatar Oct 03 '21 13:10 MichaelHannalla

I'm not sure what you mean exactly by "single inference step". Could you elaborate?

Khrylx avatar Jan 21 '22 15:01 Khrylx

Hello @Khrylx I want to convert my pth model to onnx model.

The standard tutorial for pytorch2onnx does not work, because the agentformer.py has inference() function along with forward() function and there are different modes for inference function.

I am trying to follow this tutorial https://docs.marklogic.com/guide/app-dev/PyTorch right now

I would really appreciate any kind of help from you or the community to guide me on this path. I am confused on what exactly needs to be done so even a list of steps in sequence would help me. Please suggest.

Thank you

darshb34 avatar Jun 23 '22 22:06 darshb34

Hello @Khrylx, I had a similar question. But I asked it as a separate issue. What is the significance of the recon_motion_3D? And how come the FutureEncoder is used at test time?

Best regards, Nikhil

nikhil-nakhate avatar Apr 17 '23 18:04 nikhil-nakhate