facebookresearch / facebookresearch/SlowFast

AttributeError: module 'PIL.Image' has no attribute 'LINEAR'

Open
#700 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
7.4k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

When I run run_net.py, I encounter the following error.
File "/home/qro/miniconda3/envs/slowfast/lib/python3.8/site-packages/detectron2/data/transforms/transform.py", line 32, in
class ExtentTransform(Transform):
File "/home/qro/miniconda3/envs/slowfast/lib/python3.8/site-packages/detectron2/data/transforms/transform.py", line 42, in ExtentTransform
def __init__(self, src_rect, output_size, interp=Image.LINEAR, fill=0):
**AttributeError: module 'PIL.Image' has no attribute 'LINEAR'**
PILversion 10.2.0

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.