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

DL-Learners fails to initialize when class expressions are used to specify positive and negative examples #86

Open
simkoalex opened this issue May 11, 2021 · 0 comments

Comments

@simkoalex
Copy link

I would like to report a bug. DL-Learners fails to initialize when class expressions are used to specify positive and negative examples.

Version: 1.5.0
Command: cli train.conf
Input data and error logs: example_loader_data.zip

The problem seems to be that the ExampleLoader component needs to have a reference to a Learning Problem component set during its initialization. Only then it will create positive and negative examples from the class expressions. The problem, however, is that this reference is not set at that time. This is circumvented by passing the Learning Problem instance to the ExampleLoader in the Learning Problem's init() method and calling ExampleLoader::init() again - but only if the ExampleLoader has not been initialized yet. However, the problem is that ExampleLoader::init() always sets the initialized flag to true at the end of the method.

When I remove the last line "initialized = true;" from the ExampleLoader::init() method, DL-Learner is initialized properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants