Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run python test.py error ,maybe some error in code #18

Closed
hitxuhao opened this issue May 27, 2020 · 2 comments
Closed

run python test.py error ,maybe some error in code #18

hitxuhao opened this issue May 27, 2020 · 2 comments

Comments

@hitxuhao
Copy link

python test.py
Batch [1/4]
Error: Numpy + Intel(R) MKL: MKL_THREADING_LAYER=INTEL is incompatible with libgomp-7c85b1e2.so.1 library.
Try to import numpy first or set the threading layer accordingly. Set NPY_MKL_FORCE_INTEL to force it.
Collecting test error...
Traceback (most recent call last):
File "test.py", line 35, in
cross_error += full_batch(0)
File "/home/linux/workspace/skeletonAware/deep-motion-editing-master/retargeting/get_error.py", line 15, in full_batch
res.append(batch(char, suffix))
File "/home/linux/workspace/skeletonAware/deep-motion-editing-master/retargeting/get_error.py", line 54, in batch
err = (pos - pos_ref) * (pos - pos_ref)
ValueError: operands could not be broadcast together with shapes (108,28,3) (156,28,3)

@PeizhuoLi
Copy link
Collaborator

Hi, it seems I can't reproduce the same error. According to your report, there could be something wrong with your environment configuration of numpy and MKL. If you can provide more information, e.g. platform, environment, it might be helpful.

@PeizhuoLi
Copy link
Collaborator

Hi, we recently enhanced compatibility. Hope the latest commit helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants