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 2021/03/15 08:36:18 UTC

[GitHub] [tvm] OneIsAll-w removed a comment on pull request #6302: [tvmc] command line driver 'compile' (part 2/4)

OneIsAll-w removed a comment on pull request #6302:
URL: https://github.com/apache/tvm/pull/6302#issuecomment-799225553


   tvmc first-run with 'compile' problem
   I’m attempting to compile the resnet-50-v2.7.onnx model using the command :
   python -m tvm.driver.tvmc compile --target "llvm" --output compiled_module.tar resnet50-v2-7.onnx
   and I’m running into an error:
   WARNING:root:Attribute momentum is ignored in relay.sym.batch_norm
   WARNING:root:Attribute spatial is ignored in relay.sym.batch_norm
   Traceback (most recent call last):
     File "/home/tw/anaconda3/lib/python3.7/runpy.py", line 193, in _run_module_as_main
       "__main__", mod_spec)
     File "/home/tw/anaconda3/lib/python3.7/runpy.py", line 85, in _run_code
       exec(code, run_globals)
     File "/home/tw/tvm/python/tvm/driver/tvmc/__main__.py", line 24, in <module>
       tvmc.main.main()
     File "/home/tw/tvm/python/tvm/driver/tvmc/main.py", line 92, in main
       sys.exit(_main(sys.argv[1:]))
     File "/home/tw/tvm/python/tvm/driver/tvmc/main.py", line 85, in _main
       return args.func(args)
     File "/home/tw/tvm/python/tvm/driver/tvmc/compiler.py", line 114, in drive_compile
       args.desired_layout,
     File "/home/tw/tvm/python/tvm/driver/tvmc/compiler.py", line 182, in compile_model
       with open(target) as target_file:
   IsADirectoryError: [Errno 21] Is a directory: 'llvm'
    Therefore,I want to ask you this problem,Where might I be going wrong?


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