runtime error

Building wheel for fvcore (setup.py): finished with status 'done' Created wheel for fvcore: filename=fvcore-0.1.5.post20221221-py3-none-any.whl size=61431 sha256=80c4cd37bb22b5ab4b94e71e37cb3fc7e9ff1711cd272d4c7effe0a3e266b5fd Stored in directory: /home/user/.cache/pip/wheels/6d/1f/39/577cab48487ad5c31acd046ee33dea7ca6fede7e923b2a2bc1 Successfully built detectron2 fvcore Installing collected packages: appdirs, yacs, toml, pydot, portalocker, pathspec, cloudpickle, iopath, hydra-core, black, fvcore, detectron2 Successfully installed appdirs-1.4.4 black-21.4b2 cloudpickle-3.0.0 detectron2-0.6 fvcore-0.1.5.post20221221 hydra-core-1.3.2 iopath-0.1.9 pathspec-0.12.1 portalocker-2.8.2 pydot-2.0.0 toml-0.10.2 yacs-0.1.8 [notice] A new release of pip available: 22.3.1 -> 24.0 [notice] To update, run: python -m pip install --upgrade pip Global seed set to 42 Traceback (most recent call last): File "app.py", line 18, in <module> from models.grit_model import DenseCaptioning File "/home/user/app/models/grit_model.py", line 4, in <module> from models.grit_src.image_dense_captions import image_caption_api, init_demo, dense_pred_to_caption, dense_pred_to_caption_only_name File "/home/user/app/models/grit_src/image_dense_captions.py", line 10, in <module> from detectron2.data.detection_utils import read_image File "/home/user/.local/lib/python3.8/site-packages/detectron2/data/__init__.py", line 2, in <module> from . import transforms # isort:skip File "/home/user/.local/lib/python3.8/site-packages/detectron2/data/transforms/__init__.py", line 4, in <module> from .transform import * File "/home/user/.local/lib/python3.8/site-packages/detectron2/data/transforms/transform.py", line 36, in <module> class ExtentTransform(Transform): File "/home/user/.local/lib/python3.8/site-packages/detectron2/data/transforms/transform.py", line 46, in ExtentTransform def __init__(self, src_rect, output_size, interp=Image.LINEAR, fill=0): AttributeError: module 'PIL.Image' has no attribute 'LINEAR'

Container logs:

Fetching error logs...