In draw_predictions.py, the function draw.polygon(..., width=15) fails due to variations in the installed pillow package. The width parameter was added in pillow 9.0, and the tf-cormorant venv supports < 8.4.0 due to the python3.7 dependency.
https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#api-changes
In
draw_predictions.py, the functiondraw.polygon(..., width=15)fails due to variations in the installed pillow package. Thewidthparameter was added in pillow 9.0, and the tf-cormorant venv supports < 8.4.0 due to the python3.7 dependency.https://pillow.readthedocs.io/en/stable/releasenotes/9.0.0.html#api-changes