Skip to content

Pin Pillow version to avoid #115

Open
c60evaporator wants to merge 1 commit into
Thinklab-SJTU:uniad/vadfrom
c60evaporator:fix/pin-pillow-version
Open

Pin Pillow version to avoid #115
c60evaporator wants to merge 1 commit into
Thinklab-SJTU:uniad/vadfrom
c60evaporator:fix/pin-pillow-version

Conversation

@c60evaporator

@c60evaporator c60evaporator commented Feb 28, 2026

Copy link
Copy Markdown

What / Why

As mentioned in #110, latest Pillow (>=10) causes a compatibility error with numpy==1.20.0 that is installed based on requirements.txt

Reproduce

Prepare Bench2Drive data info

python prepare_B2D.py --workers 16

The following error occurred

AttributeError: module 'numpy.typing' has no attribute 'NDArray'

Fix

Pin the Pillow version (9.5.0) of requirements.txt

Verification

Confirmed that the specified Pillow is installed and the AttributeError doesn't occur

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant