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

Cannot compile the application #1

Open
JamesPiggott opened this issue Dec 18, 2020 · 3 comments
Open

Cannot compile the application #1

JamesPiggott opened this issue Dec 18, 2020 · 3 comments
Assignees

Comments

@JamesPiggott
Copy link

Dear DarrMirr,

I think your implementation of FaceNet and MTCNN is interesting. However, I have a problem getting it to run. I get messages from Spring ( I think) that certain classes cannot be found: interface FeatureBank is one of them. Could you check on your end if everything is still working and perhaps update the code.

Perhaps you can update README with the installation steps. Though as it is Java it should not be necessary.

If the problem is on my end then I will post more messages.

Regards.

@DarrMirr
Copy link
Owner

DarrMirr commented Feb 5, 2021

@JamesPiggott hello!

Thank you for posting issue. I completely agree with you about including installation steps to readme.

Could you execute command mvn compile from project root? Maven should compile project and put all classes to target directory at project's root directory.

Here is my maven compile log output:

darrmirr@darrmirr-PC:~/IdeaProjects/github/dl4j-facenet-mtcnn$ mvn compile
Picked up _JAVA_OPTIONS:   -Dawt.useSystemAAFontSettings=gasp
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/usr/share/maven/lib/guice.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[INFO] Scanning for projects...
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Building dl4j-facenet-mtcnn 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ dl4j-facenet-mtcnn ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 0 resource
[INFO] Copying 32 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ dl4j-facenet-mtcnn ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 32 source files to /home/darrmirr/IdeaProjects/github/dl4j-facenet-mtcnn/target/classes
[INFO] /home/darrmirr/IdeaProjects/github/dl4j-facenet-mtcnn/src/main/java/com/github/darrmirr/models/custom/PReLUNorm.java: /home/darrmirr/IdeaProjects/github/dl4j-facenet-mtcnn/src/main/java/com/github/darrmirr/models/custom/PReLUNorm.java uses unchecked or unsafe operations.
[INFO] /home/darrmirr/IdeaProjects/github/dl4j-facenet-mtcnn/src/main/java/com/github/darrmirr/models/custom/PReLUNorm.java: Recompile with -Xlint:unchecked for details.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.265 s
[INFO] Finished at: 2021-02-05T23:21:37+03:00
[INFO] Final Memory: 39M/118M
[INFO] ------------------------------------------------------------------------

Regards.

@DarrMirr DarrMirr self-assigned this Feb 5, 2021
@DarrMirr
Copy link
Owner

@JamesPiggott Hi!

I add docs and make some changes at project. Please, download new application version and try to run application according to docs guide.

Best regards,
Darr Mirr

@DarrMirr
Copy link
Owner

@JamesPiggott, has issue resolved? Could I close it?

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