File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/main/java/qupath/ext/djl Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3030 java-version : ' 21'
3131 distribution : ' temurin'
3232 - name : Validate Gradle wrapper
33- uses : gradle/wrapper-validation-action@v1
33+ uses : gradle/actions/ wrapper-validation@v3
3434 - name : Build with Gradle
35- uses : gradle/gradle-build-action@v2
36- with :
37- arguments : build
35+ run : ./gradlew build
3836 - uses : actions/upload-artifact@v4
3937 with :
4038 name : jar
Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ private void ensureInitialized() {
125125
126126 @ Override
127127 public Map <String , Mat > predict (Map <String , Mat > blobs ) {
128+ ensureInitialized ();
128129 synchronized (predictor ) {
129130 try {
130131 var result = predictor .predict (blobs .values ().stream ().toArray (Mat []::new ));
You can’t perform that action at this time.
0 commit comments