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

Inspireface Compilation Failure #2594

Open
JY-Jang opened this issue Jun 17, 2024 · 3 comments
Open

Inspireface Compilation Failure #2594

JY-Jang opened this issue Jun 17, 2024 · 3 comments

Comments

@JY-Jang
Copy link

JY-Jang commented Jun 17, 2024

Hello,

I am currently attempting to test Inspireface. I followed the instructions in the README file, but I encountered an error during the compilation process when executing the bash command/build.sh.

The error occurs when I set the ISF_BUILD_WITH_SAMPLE build option to ON. The compilation proceeds normally when this option is set to OFF, but when I try to import the compiled files afterward, I encounter an error. Specifically, the Inspireface.so file fails to load. The error encountered during the import stage is the same type as the one occurring during the build stage, and the error message is as follows:

2024-06-10 10_09_08

I would appreciate any guidance or solutions you could provide to resolve this issue.

Thank you for your assistance.

@JY-Jang JY-Jang changed the title Inquiry Regarding Inspireface Compilation Failure Inspireface Compilation Failure Jun 17, 2024
@tunmx
Copy link
Contributor

tunmx commented Jun 19, 2024

It seems like the linked third-party libraries (MNN or OpenCV) do not support your system. Could you please provide your system environment and version details?

@JY-Jang
Copy link
Author

JY-Jang commented Jun 20, 2024

It seems like the linked third-party libraries (MNN or OpenCV) do not support your system. Could you please provide your system environment and version details?

The basic system specifications are as follows:
Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
Ubuntu 20.04.3 LTS / Linux version 5.15.0-107-generic
CUDA 11.7 / cuDNN 8.5.0
gcc 9.4.0 / g++ 9.4.0
CMake 3.16.3
Opencv 4.4.0
clang version 10.0.0-4ubuntu1

If there are any specific library versions that need to be confirmed, please let me know.

@JY-Jang
Copy link
Author

JY-Jang commented Jul 4, 2024

When trying again with version 1.1.2, the compilation was successful. However, during the linking of the .so file and the import process in Python, the following error occurred:

ImportError: Could not load libInspireFace.so.

I have tried linking the .so file, copying it directly, recompiling, and even attempting on a different PC, but the issue persists. If you have any other methods or suggestions to resolve this, please let me know.

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