This is an automated email from the ASF dual-hosted git repository.

manupa pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new c412450f8e [TVMC] Updates TVMC tutorial with input shape information 
(#12031)
c412450f8e is described below

commit c412450f8ebe0a27b13c51c79c355edc95a893aa
Author: Leandro Nunes <[email protected]>
AuthorDate: Fri Jul 8 10:09:37 2022 +0100

    [TVMC] Updates TVMC tutorial with input shape information (#12031)
    
    The tutorial is currently broken, probably because updates in the
    model, so we now need to pass input shape information.
    
    Co-Authored-By: Liam Sturge <[email protected]>
    
    Co-authored-by: Liam Sturge <[email protected]>
---
 gallery/tutorial/tvmc_command_line_driver.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gallery/tutorial/tvmc_command_line_driver.py 
b/gallery/tutorial/tvmc_command_line_driver.py
index ad5b37190c..8a60f12a05 100644
--- a/gallery/tutorial/tvmc_command_line_driver.py
+++ b/gallery/tutorial/tvmc_command_line_driver.py
@@ -94,7 +94,7 @@ testing.utils.install_request_hook(depth=3)
 #
 # .. code-block:: bash
 #
-#   wget 
https://github.com/onnx/models/raw/main/vision/classification/resnet/model/resnet50-v2-7.onnx
+#   wget 
https://github.com/onnx/models/raw/652f4e4af7975c8e7a505c4b6e0f8ac72d8260ea/vision/classification/resnet/model/resnet50-v2-7.onnx
 #
 
 
################################################################################
@@ -131,6 +131,7 @@ testing.utils.install_request_hook(depth=3)
 #   # This may take several minutes depending on your machine
 #   tvmc compile \
 #   --target "llvm" \
+#   --input-shapes "data:[1,3,224,224]" \
 #   --output resnet50-v2-7-tvm.tar \
 #   resnet50-v2-7.onnx
 #

Reply via email to