Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

RecursionError using tfds.load to import tensorflow-dataset (Mac)

Đang mở
#5,417 2 bình luận 0 reaction 1 người được giao Xem trên GitHub

@pierrot0 đang làm issue này rồi.

Từ ngày 17/5/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

bug

Short description
tfds.load function does not work properly.

Environment information

  • Operating System: Mac OS Sonoma 14.5 (tested also on Windows 11)

  • Python version: 3.12.3

  • tensorflow-datasets version: 4.9.4

  • tensorflow version: 2.16.1

  • Does the issue still exists with the last tfds-nightly package (pip install --upgrade tfds-nightly) ?
    I don't know. This is the first version installed on my pc.

Reproduction instructions

import tensorflow as tf
import sklearn
import tensorflow_datasets as tfds

print(tf.__version__)
print(sklearn.__version__)

# Load the Iris dataset
(data), info = tfds.load('iris', with_info=True, split='train')

Link to logs
the log is in the attached file
log.docx

Expected behavior
What you expected to happen.

Additional context
The code is the same available in google documentation and inside the Google Cloud Machine Learning didactic materials from EICTA.

Ngôn ngữ chính
Python
Star
4.6k
Fork
1.6k
Merge trung bình
5 giờ 47 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của tensorflow/datasets

Tất cả issue của tensorflow/datasets

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.