qupath / qupath-extension-djl

A QuPath extension for working with Deep Java Library (https://djl.ai)
Apache License 2.0
5 stars 4 forks source link

Update to use simplified `DnnModel` interface #9

Closed petebankhead closed 10 months ago

petebankhead commented 10 months ago

This makes memory management much easier, since there is no need for resources (NDList) to be accessible outside of the predict method. Appears to reduce memory leaks with TensorFlow + GPU.