aadeshnpn / OSDN

Keras implementation for the research paper "Towards Open Set Deep Networks" A Bendale, T Boult, CVPR 2016
GNU Lesser General Public License v3.0
78 stars 21 forks source link

Help please! "libmr.so is not found" #11

Closed Alabenba closed 4 years ago

Alabenba commented 4 years ago

Hi, I'm interested in this work very much and tried to reproduce it. But unfortunately, I met this problem. How can I fix it? image ps: I followed your steps carefully.

aadeshnpn commented 4 years ago

Thanks @Alabenba. Hopefully this will solve the issue you are having. libmr.so is a library file which is located in utils folder (https://github.com/aadeshnpn/OSDN/blob/master/utils/libmr.cpython-36m-x86_64-linux-gnu.so). I am sure that it works fine in Linux. Looks like you are using windows. Hopefully copying the libmr.so in the main directory would resolve your issue.

Alabenba commented 4 years ago

Hi, thanks for your reply. I have tried it in Linux this time, but unfortunately, the same issue still occurred. I guess it might be caused by the mismatched python version (I use python2.7), but I'm not sure. Would you tell me how to compile the libmr.so for python2? Or, how to fix it if it is not for the reason? Thanks!

image

aadeshnpn commented 4 years ago

@Alabenba Nice catch! LibMR should be compiled from the original repository https://github.com/abhijitbendale/OSDN. I think using Python 3.6 should solve this libmr.so not found issue.

Alabenba commented 4 years ago

Yes, using Python3.6 can make it work. And I tried recompile libmr.so for python2, it also works.