I’ve created a custom pipelines that uses DicomToImage as well as PdfToImage. The pipelines works as expected when run normally. However, I encounter an issue when I attempt to convert this custom pipeline into a PretrainedPipeline. The error message I receive is 'JavaPackage' object is not callable.
I’m looking for guidance on how to resolve this issue. Any help would be greatly appreciated. Thank you.
The error can be reproduced in this notebook:
https://colab.research.google.com/drive/1a_4VJXHvgDBsfD83Xg9u_6syy3wge8Vm?usp=sharing