Got it

Huawei Atlas 200 DK: Body_Pose Github sample project not working. "numpy.core.multiarray failed to import'"

Created: Apr 16, 2021 08:16:08Latest reply: Apr 16, 2021 12:18:06 245 3 0 0 0
  Rewarded HiCoins: 5 (problem resolved)

Hello there!

my problem is almost similar to my last post in this forum: Huawei Atlas 200 DK: Body_Pose Github sample project not working. Error in main.py.
I am working on a bodypose sample project for my Huawei Atlas 200 DK. I am follwing a Guide from Huawei on Github: GitHub - Atlas200dk/sample_bodypose

I am almost done but at the end I am facing a problem. When I try to run the body detection python script (main.py) it fails to find the sysfs file cgroup.procs.


I get an error when executing following:
cd ~/HIAI_PROJECTS/sample_bodypose/code_live
python3 main.py --model='model/body_pose.om'

(You can find this on the Github page)


The python script fails. It is telling me:


./tsdaemon_add_to_usermemory.sh: line 7: /sys/fs/cgroup/memory/usermemory/cgroup.procs: No such file or directory

and

ImportError: numpy.core.multiarray failed to import

python import error


The tsdaemon error doesn't seem to create an error in the script. The script simply proceeds to execute the commands. But the numpy.core.multiarray import error stops the python script. How can i fix this import error?

I think numpy is already installed because I followed the "Environment Preparation" from the Github tutorial


environment preparation for numpy




Featured Answers
_xyt
Created Apr 16, 2021 09:10:14

pip3 install numpy==1.17.2 --user

uninstall old version, try this version

View more
  • x
  • convention:

All Answers
Hi dear, we are working on it now.
View more
  • x
  • convention:

pip3 install numpy==1.17.2 --user

uninstall old version, try this version

View more
  • x
  • convention:

Posted by _xyt at 2021-04-16 09:10 pip3 install numpy==1.17.2 --useruninstall old version, try this version
Thanks _xyt! This was the correct solution. The body pose detction is now working! I can see the detection in the web view
View more
  • x
  • convention:

Comment

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

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.