-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
python310Packages.insightface: init at 0.7.3 #244655
Conversation
f50ad09
to
b958a38
Compare
Rebased on master, no structural changes. |
The CLI apparently expects the
|
458334a
to
e9bc6b5
Compare
Added small compatibility fix for mxnet (to support numpy >= 1.24), and addressed review comments.
Good idea. I've now added this test but since there is no "--version" for insightface, I've set |
e9bc6b5
to
0d409cd
Compare
(Fixed accidentally deleted character 😅, package builds and runs now) |
mxnet fails to build on darwin.
Can you try the following? Copied from env.NIX_CFLAGS_COMPILE = toString [
# Needed with GCC 12
"-Wno-error=maybe-uninitialized"
]; |
0d409cd
to
ca92cf2
Compare
Well that was dumb. I really need to start reading the actual error message. The necessary change is diff --git a/pkgs/applications/science/math/mxnet/default.nix b/pkgs/applications/science/math/mxnet/default.nix
index 1e7af371c50..d65de87d8eb 100644
--- a/pkgs/applications/science/math/mxnet/default.nix
+++ b/pkgs/applications/science/math/mxnet/default.nix
@@ -56,7 +56,6 @@ stdenv.mkDerivation rec {
env.NIX_CFLAGS_COMPILE = toString [
# Needed with GCC 12
- "-Wno-error=maybe-uninitialized"
"-Wno-error=uninitialized"
]; |
ca92cf2
to
fd0f8a2
Compare
Adjusted, I just can't test darwin myself unfortunately :D |
The change is needed on the native library, not the python library, see the diff. 😆 |
fd0f8a2
to
1ecc329
Compare
1ecc329
to
3f0083b
Compare
Guess I should also start to read comments properly 😅. Added as suggested now. |
@ofborg build python310Packages.mxnet |
Builds for me on both darwin systems. |
Description of changes
Adds https://github.com/deepinsight/insightface, a state-of-the-art 2D and 3D face analysis library.
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)