When building a pipeline such as ShowImage() >> BuildBatch() no images are displayed because BuildBatch performs prefetching. This is due to a threading problem with matplotlib, which is used for image display.
Workaround: Set prefetching to 0 for bathc builder: BuildBatch(prefetch=0)
When building a pipeline such as ShowImage() >> BuildBatch() no images are displayed because BuildBatch performs prefetching. This is due to a threading problem with matplotlib, which is used for image display.
Workaround: Set prefetching to 0 for bathc builder: BuildBatch(prefetch=0)