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

OSError: dlopen(wemd/lib/libwemd.so, 6): image not found #1

Closed
Prathi1109 opened this issue Jul 7, 2020 · 5 comments
Closed

OSError: dlopen(wemd/lib/libwemd.so, 6): image not found #1

Prathi1109 opened this issue Jul 7, 2020 · 5 comments

Comments

@Prathi1109
Copy link

I am running this in my Mac. I did generate the libwemd.dylib in the path 'Multimodal-Future-Prediction-master/wemd/lib'. Please let me know what is that going wrong.

@os1a
Copy link
Collaborator

os1a commented Jul 7, 2020

Can you please provide more details when you get this error?
Is it during compiling or after that when running the test script?

@Prathi1109
Copy link
Author

Thank you for your response. I didn't face the error when I changed the path in wemd.py from
lib = ctypes.cdll.LoadLibrary('wemd/lib/libwemd.so')
to
lib = ctypes.cdll.LoadLibrary('wemd/lib/libwemd.dylib')
I have noticed that .dylib is the format which will be generated in mac os instead of .so
Apparently I got another error

UnimplementedError (see above for traceback): Generic conv implementation only supports NHWC tensor format for now.
[[node encoder/conv1/Conv2D (defined at /Users/prathibha/Downloads/Multimodal-Future-Prediction-master/utils_tf.py:143) = Conv2D[T=DT_FLOAT, data_format="NCHW", dilations=[1, 1, 1, 1], padding="VALID", strides=[1, 1, 2, 2], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/device:CPU:0"](encoder/Pad, encoder/conv1/kernel/read)]]

@Prathi1109
Copy link
Author

I got the error when I run the test script. I have found out that i got the above mentioned error since I am running it on CPU. Could you please confirm if the code can be run on a mac without GPU?

@os1a
Copy link
Collaborator

os1a commented Jul 7, 2020

I am not really sure if it supports only CPU on mac, I have not tested it there. The data format of the tensorflow operation used our code are optimized to work for GPU and thus get the most out of them. This seems to not work under CPU.

@Prathi1109
Copy link
Author

Ok. Thanks for letting me know :)

@os1a os1a closed this as completed Jul 14, 2020
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