Skip to content

Conversation

@lasselindqvist
Copy link

Add Javadoc for exception throwing and a test for it as well.

@nguyenq
Copy link
Owner

nguyenq commented Jun 4, 2025

What would happen if the datapath is set to an existing but wrong directory that does not have the appropriate traineddata files?

@lasselindqvist
Copy link
Author

What would happen if the datapath is set to an existing but wrong directory that does not have the appropriate traineddata files?

I didn't check this actually. We could of course check on Java side that the directory contains at least one file with .traineddata ending.

@nguyenq
Copy link
Owner

nguyenq commented Jun 5, 2025

It seems several developers had problems with this issue in the past. Will try to implement a robust solution to it.

Thanks.

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

Successfully merging this pull request may close these issues.

2 participants