gromero opened a new pull request #9712:
URL: https://github.com/apache/tvm/pull/9712


   Currently 'tvmc run' can't run Arduino models because `model.tar` is never 
found:
   
   ```
   $ tvmc run --device micro /tmp/arduino_sine --project-option 
arduino_board=due --print-top 6 --fill-mode zeros
   Error: File /tmp/arduino_sine/model.tar does not exist.
   ```
   
   This happens because Arduino don't store `model.tar` in 
`<project_dir>/model.tar` like Zephyr.
   
   If this change is applied the MLF path used is taken as returned by the 
Project API, so `tvmc run` now works for both Zephyr and Arduino and any future 
platforms:
   
   ```
   $ tvmc run --device micro /tmp/arduino_sine --project-option 
arduino_board=due --print-top 6 --fill-mode zeros
   [[0.        ]
    [0.03384194]]
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to