Dear starling-lab team,
I tried to use the new introduced features for BoostSRL v1.1: Lifted and Grounded Relational Random Walks. The routine of the first technique works flawless and was able to run the example described on the wiki page. Whereas, the example of Grounded RRW caused the one path finding error. (Please see the file initial_error.txt for details). I overlooked that the problem lies in the line 99 of RunGroundRelationalRandomWalks.java:
disc_flag=flagObj.checkflagvalues(cmd.getTestDirVal());
So, I corrected in my opinion suspicious lines 114 and 137, because I'm using Linux and not Windows:
File f = new File(cmd.getTrainDirVal()+"\\"+cmd.trainDir+"_facts_disc.txt");
File f = new File(cmd.getTestDirVal().replace("/","\\"+cmd.testDir+"_facts_disc.txt"));
Afterwards, I tried to compile the library using maven (i.e. using the command mvn package). The first try has failed. (Please see the file first_compilation_attempt.txt for further details). So, I had to reorganize the project's source folder structure from /src/... to /src/main/java/... The second attempt to compile was either not successful and I got two errors:
- [ERROR] /home/user/Documents/Tools/BoostSRL/src/main/java/edu/wisc/cs/will/Boosting/Utils/ConvertProximityXMLToFacts.java:[23,21] package org.omg.CORBA does not exist
- [ERROR] /home/user/Documents/Tools/BoostSRL/src/main/java/edu/wisc/cs/will/Utils/disc.java:[7,36] package com.sun.xml.internal.ws.util does not exist
I got rid of the first error by switching from OpenJDK 11 to OpenJDK 8 using the command sudo update-alternatives --config java. The second error was caused due to the usage of OpenJDK instead of Oracle's JDK. In order to deal with it, I commented out the line 7 in the class disc.java. I have no idea about how crucial it is, but afterword I was able to compile the library without any errors.
Following the initial error of the line 99 of RunGroundRelationalRandomWalks.java I tried to debug the class check_disc.java.zip. Nonetheless, the issue is not resolved
error_after_debugging.txt.
Please let me know, if I should provide more details on generated outputs.
Many thanks in advance!
Dear starling-lab team,
I tried to use the new introduced features for BoostSRL v1.1: Lifted and Grounded Relational Random Walks. The routine of the first technique works flawless and was able to run the example described on the wiki page. Whereas, the example of Grounded RRW caused the one path finding error. (Please see the file initial_error.txt for details). I overlooked that the problem lies in the line 99 of RunGroundRelationalRandomWalks.java:
disc_flag=flagObj.checkflagvalues(cmd.getTestDirVal());So, I corrected in my opinion suspicious lines 114 and 137, because I'm using Linux and not Windows:
File f = new File(cmd.getTrainDirVal()+"\\"+cmd.trainDir+"_facts_disc.txt");File f = new File(cmd.getTestDirVal().replace("/","\\"+cmd.testDir+"_facts_disc.txt"));Afterwards, I tried to compile the library using maven (i.e. using the command
mvn package). The first try has failed. (Please see the file first_compilation_attempt.txt for further details). So, I had to reorganize the project's source folder structure from /src/... to /src/main/java/... The second attempt to compile was either not successful and I got two errors:I got rid of the first error by switching from OpenJDK 11 to OpenJDK 8 using the command
sudo update-alternatives --config java. The second error was caused due to the usage of OpenJDK instead of Oracle's JDK. In order to deal with it, I commented out the line 7 in the class disc.java. I have no idea about how crucial it is, but afterword I was able to compile the library without any errors.Following the initial error of the line 99 of RunGroundRelationalRandomWalks.java I tried to debug the class check_disc.java.zip. Nonetheless, the issue is not resolved
error_after_debugging.txt.
Please let me know, if I should provide more details on generated outputs.
Many thanks in advance!