Bug 6606 - tensorflow AI 容器镜像缺少python3-pillow,软件包,加载imagenet2012 数据集提示ImportError: Could not import PIL.Image. The use of `load_img` requires PIL.
Summary: tensorflow AI 容器镜像缺少python3-pillow,软件包,加载imagenet2012 数据集提示ImportError: Could...
Status: NEW
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: xuchunmei
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-19 09:56 UTC by feitian200603
Modified: 2023-09-19 10:02 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description feitian200603 alibaba_cloud_group 2023-09-19 09:56:40 UTC
tensorflow resnet50 CPU 推理测试,加载image2012 数据集提示:
ImportError: Could not import PIL.Image. The use of `load_img` requires PIL.
Comment 1 xuchunmei alibaba_cloud_group 2023-09-19 10:02:27 UTC
(In reply to feitian200603 from comment #0)
> tensorflow resnet50 CPU 推理测试,加载image2012 数据集提示:
> ImportError: Could not import PIL.Image. The use of `load_img` requires PIL.

dnf install python3-pillow后功能正常吗?