You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug/ 问题描述 (Mandatory / 必填)
A clear and concise description of what the bug is.
dataset = load_dataset("FrancophonIA/XFUND", "French")
我load_dataset 后 想用for 迭代看一下dataset 但是报错了
TypeError: Data type of 4th item of the input or its converted Numpy array is expected to be int or float or str, but got object.
Hardware Environment(Ascend/GPU/CPU) / 硬件环境:
Please delete the backend not involved / 请删除不涉及的后端:
/device ascend/GPU/CPU/kirin/等其他芯片
Ascend910
Software Environment / 软件环境 (Mandatory / 必填):
-- MindSpore version (e.g., 2.3.1.Bxxx) :Mindspore 2.3.1
-- Python version (e.g., Python 3.9.0) : python 3.9.0
-- OS platform and distribution (e.g., Linux Ubuntu 16.04):EulerOS 2.0
-- GCC/Compiler version (if compiled from source):
To Reproduce / 重现步骤 (Mandatory / 必填)
Steps to reproduce the behavior:
from mindnlp.dataset import load_dataset
dataset = load_dataset("FrancophonIA/XFUND", "French")
for d in dataset:
print(d) Expected behavior / 预期结果 (Mandatory / 必填)
A clear and concise description of what you expected to happen.
打印相关的内容 Screenshots/ 日志 / 截图 (Mandatory / 必填)
If applicable, add screenshots to help explain your problem.
Additional context / 备注 (Optional / 选填)
Add any other context about the problem here.
无
The text was updated successfully, but these errors were encountered:
Describe the bug/ 问题描述 (Mandatory / 必填)
A clear and concise description of what the bug is.
dataset = load_dataset("FrancophonIA/XFUND", "French")
我load_dataset 后 想用for 迭代看一下dataset 但是报错了
TypeError: Data type of 4th item of the input or its converted Numpy array is expected to be int or float or str, but got object.
Ascend
/GPU
/CPU
) / 硬件环境:Software Environment / 软件环境 (Mandatory / 必填):
-- MindSpore version (e.g., 2.3.1.Bxxx) :Mindspore 2.3.1
-- Python version (e.g., Python 3.9.0) : python 3.9.0
-- OS platform and distribution (e.g., Linux Ubuntu 16.04):EulerOS 2.0
-- GCC/Compiler version (if compiled from source):
Excute Mode / 执行模式 (Mandatory / 必填)(
PyNative
/Graph
):To Reproduce / 重现步骤 (Mandatory / 必填)
Steps to reproduce the behavior:
from mindnlp.dataset import load_dataset

dataset = load_dataset("FrancophonIA/XFUND", "French")
for d in dataset:
print(d)
Expected behavior / 预期结果 (Mandatory / 必填)
A clear and concise description of what you expected to happen.
打印相关的内容
Screenshots/ 日志 / 截图 (Mandatory / 必填)
If applicable, add screenshots to help explain your problem.
Additional context / 备注 (Optional / 选填)
Add any other context about the problem here.
无
The text was updated successfully, but these errors were encountered: