dwofk/fast-depth

How can it work for Raspberry pi?

Opened this issue · 5 comments

Sorry, I'm new using pytorch and tvm so maybe I understand things wrong...

As I know all models in results/tvm_compiled/ are compiled for Jetson TX2.

What do I need to run a compiled model in a Raspberry pi as in tx2_run_tvm.py ?

I guess I have to Compile the model using tvm as explained in this tutorial:
https://docs.tvm.ai/tutorials/frontend/from_pytorch.html

Can anyone confirm?

dwofk commented

Hi @oroelipas

You were correct in that you need to compile the model anew for a different hardware platform. As the models in this repository were compiled specifically for the TX2, they will not be compatible with the Raspberry Pi without re-compilation.

@oroelipas were you able to recompile for raspberry pi?

Hi @ideasxiang, currently I am working in other projects and have not made progress with this. Anyway I am listening if someone publish something about it

@oroelipas thank you for your reply, I will try recompile using the link you provided. https://docs.tvm.ai/tutorials/frontend/from_pytorch.html

@ideasxiang Did you succeed to recompile the model for raspberry pi?