You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2020/12/09 13:30:19 UTC

[GitHub] [tvm] fprotopapa commented on a change in pull request #7059: #7058 [Tutorial] Import errors in deploy_detection.py and deploy_classification.py

fprotopapa commented on a change in pull request #7059:
URL: https://github.com/apache/tvm/pull/7059#discussion_r539306511



##########
File path: vta/tutorials/frontend/deploy_classification.py
##########
@@ -56,9 +56,14 @@
 from tvm.contrib.debugger import debug_runtime
 from tvm.relay import transform
 
+os.chdir(dirname(os.path.abspath(__file__)))
+os.chdir(join(pardir, pardir, pardir))
+sys.path.append(os.getcwd())

Review comment:
       Thanks! You're right. The import errors were my own fault. I reversed these changes and updated the PR description. 




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org