Skip to content

[Bug]使用Paddle2.3.2运行Paddle报错No module named 'paddle.io.dataloader' #206

@HYJ1542052797

Description

@HYJ1542052797

使用Paddle2.3.2运行PaddleRS报错,如何进行修改?

  1. PaddleRS版本:PaddleRS develop
  2. PaddlePaddle版本:PaddlePaddle 2.3.2
  3. 操作系统信息:Windows
  4. Python版本号:Python3.9
  5. CUDA/cuDNN版本:CUDA11.1.1/cuDNN 8.1.0.77
  6. 完整的代码:

Copyright (c) 2022 PaddlePaddle Authors. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and

limitations under the License.

import traceback
import random

import numpy as np
from paddle.io.dataloader.collate import default_collate_fn

from .operators import Transform, Resize, ResizeByShort, _Permute, interp_dict
from .box_utils import jaccard_overlap
from paddlers.utils import logging

报错
from paddle.io.dataloader.collate import default_collate_fn
ModuleNotFoundError: No module named 'paddle.io.dataloader'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions