Got it

e40009: Compile op

Created: Apr 19, 2022 03:41:51Latest reply: Apr 19, 2022 03:50:45 218 4 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello, everyone!

Use the act tool to convert the PB model to the OM model. I get the following error information.

E40009

Can you help me?

Thanks in advance!

  • x
  • convention:

Featured Answers
olive.zhao
Admin Created Apr 19, 2022 03:50:45

Hello, friend!

According to the error screenshot, the possible cause is the permission of the kernel_meta folder. Delete the kernel_meta folder and try again.

In addition, please check your environment variables. I encountered a similar problem before. You can modify the environment variables by referring to the following content:

export ASCEND_HOME=/usr/local/HiAI

export install_path=/usr/local/HiAI/ascend-toolkit/latest

export LD_LIBRARY_PATH=ASCENDHOME/add−ons:{install_path}/acllib/lib64:installpath/atc/lib64:{install_path}/toolkit/lib64

export PATH=/usr/local/python3.7/bin:installpath/atc/cceccompiler/bin:{install_path}/atc/bin:PATHexportPATH={install_path}/toolkit/bin:PATHexportPYTHONPATH={install_path}/atc/python/site-packages:installpath/toolkit/python/site−packages:{install_path}/atc/python/site-packages/auto_tune.egg/auto_tune:installpath/atc/python/site−packages/schedulesearch.egg:PYTHONPATH

export ASCEND_OPP_PATH=/usr/local/HiAI/opp

HOpe this helps!

View more
  • x
  • convention:

All Answers
olive.zhao
olive.zhao Admin Created Apr 19, 2022 03:42:56

Hello, Pupu!

What's the version of your CANN?

Wait for your feedback!

View more
  • x
  • convention:

pupu.F
pupu.F Created Apr 19, 2022 03:44:54 (0) (0)
Version 20.0.0.RC1  
Saqibaz
Saqibaz Created Apr 19, 2022 06:22:25 (0) (0)
 
olive.zhao
olive.zhao Admin Created Apr 19, 2022 03:50:45

Hello, friend!

According to the error screenshot, the possible cause is the permission of the kernel_meta folder. Delete the kernel_meta folder and try again.

In addition, please check your environment variables. I encountered a similar problem before. You can modify the environment variables by referring to the following content:

export ASCEND_HOME=/usr/local/HiAI

export install_path=/usr/local/HiAI/ascend-toolkit/latest

export LD_LIBRARY_PATH=ASCENDHOME/add−ons:{install_path}/acllib/lib64:installpath/atc/lib64:{install_path}/toolkit/lib64

export PATH=/usr/local/python3.7/bin:installpath/atc/cceccompiler/bin:{install_path}/atc/bin:PATHexportPATH={install_path}/toolkit/bin:PATHexportPYTHONPATH={install_path}/atc/python/site-packages:installpath/toolkit/python/site−packages:{install_path}/atc/python/site-packages/auto_tune.egg/auto_tune:installpath/atc/python/site−packages/schedulesearch.egg:PYTHONPATH

export ASCEND_OPP_PATH=/usr/local/HiAI/opp

HOpe this helps!

View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.
Information Protection Guide
Thanks for using Huawei Enterprise Support Community! We will help you learn how we collect, use, store and share your personal information and the rights you have in accordance with Privacy Policy and User Agreement.