-
Notifications
You must be signed in to change notification settings - Fork 221
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
Upgrade to JEP 4.2.0 #2253
Comments
Trying to continue with |
Does it work with IPED 4.1.x? |
I investigated and found that the file
|
I haven't tested yet.
The image has 900 GB. Should I share locally with you? |
Try to remove this line. I don't see it in my local version of this file, neither in the master branch. |
Some tests in Java: System.out.println(double[].class.getName()); // outputs "[D"
System.out.println(double[].class.getCanonicalName()); // outputs "double[]"
Class.forName("[D"); // returns double[]
Class.forName("double[]"); // throws ClassNotFoundException |
This line is only in the |
I think the bug can be here:
|
I replaced by |
There are no arrays in metadataTypes.txt. |
Arrays shouldn't appear into metadataTypes.txt.
I think this is the best approach. |
I'll try to reproduce the issue here, I think it happens when the first image where a face is detected have 2 or more faces. If the first image has 1 face, it works with later images with 2+ faces. |
@aberenguel, is it an "--append"? |
@aberenguel what is the jep python lib version you installed on Linux? |
No. It is the first evidence. |
I processed a case with a single image with 2 faces and I didn't reproduce. The mapping into conf/metadataTypes.txt is: Not sure from where that |
I'm using Python virtual environments. It used jep 4.0.3: |
You didn't change FaceRecognitionTask.py code, right? |
No. It was not modified. |
I wonder if it is thing related to Python 3.12. |
I wasn't able to reproduce on Windows with image above, IPED detected 7 faces in that image with the correct type: Please @aberenguel try to reproduce on Linux with python 3.9 and numpy 1.x (not 2.0), the same used on Windows. |
Ubuntu 24.04 has only python 3.12. I'll try to get python 3.9 in other way. |
Try to use conda, you can install different python versions with it. |
…ray" This reverts commit 505a635.
@aberenguel have you confirmed this happens because of python 3.12? Does it work with previous python versions? |
I've just tested with Python 3.9.19 (fresh installing modules I get some old cases I processed in Ubuntu 22.04 and they have |
Another test I've just done. |
Great! I was just going to ask you to try that :-) |
Confirmed that JEP 4.2.0 solved the problem with Python 3.9 and 3.12 |
Great, @aberenguel , thank you for testing. |
Using Ubuntu 24.04 with latest IPED (master d436a74), profile pedo.
The error occurred in the end of processing.
The text was updated successfully, but these errors were encountered: