Penguin simple tutorial fails with Keras 3 at model.save(..., save_format='tf')
@jeelania10 đang làm issue này rồi.
Từ ngày 5/11/2026.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- keras, python, tensorflow
- Lĩnh vực
- documentation, machine-learning
Hướng nghiên cứu
Mở hướng dẫn và notebook Penguin Simple TFX được liên kết, sau đó tìm đoạn mã Trainer có model.save(fn_args.serving_model_dir, save_format='tf'). Kiểm tra các yêu cầu lưu hiện tại của Keras 3 và cách hướng dẫn xuất mô hình serving. Hoàn tất khi hướng dẫn chạy được với Keras 3 mà không cần đối số đã lỗi thời, đồng thời notebook và trang hiển thị mã giống nhau.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
URL(s) with the issue:
https://www.tensorflow.org/tfx/tutorials/tfx/penguin_simple
https://colab.research.google.com/github/tensorflow/tfx/blob/master/docs/tutorials/tfx/penguin_simple.ipynb
Description of issue (what needs changing):
The Simple TFX Pipeline Tutorial using Penguin dataset uses a model-saving command that fails with Keras 3.
Clear description:
When running the pipeline with LocalDagRunner, the Trainer fails at:
model.save(fn_args.serving_model_dir, save_format='tf')
The error is:
ValueError: The save_format argument is deprecated in Keras 3.
Please remove this argument and pass a file path with either
.keras or .h5 extension. Received: save_format=tf
Correct links
The issue concerns the training code in the linked tutorial, rather than a broken link.
Parameters defined
The save_format='tf' argument is incompatible with Keras 3 which naturally comes with colab.
- Ngôn ngữ chính
- Python
- Star
- 2.2k
- Fork
- 727
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của tensorflow/tfx
-
Pipeline representation and relationship betwen KFP/Vertex AI Pipelines and TFXCó thể làm lại được @jeelania10 đã nhận 91 ngày trước và không có pull request nào đang mở. Đang mởstat:awaiting tensorflower type:feature
tensorflow/tfx#7872 · 1 bình luận · 1 người được giao ·
-
Different artifact type names across execution environmentsCó thể đã có người làm @jeelania10 đã nhận 91 ngày trước. Đang mởstat:awaiting tensorflower type:bug
tensorflow/tfx#7849 · 2 bình luận · 1 người được giao ·
-
Roadmap for TensorFlow ExtendedCó thể làm lại được @jeelania10 đã nhận 91 ngày trước và không có pull request nào đang mở. Đang mởstat:awaiting tensorflower type:feature
tensorflow/tfx#7788 · 24 bình luận · 6 reaction · 1 người được giao ·
-
Support Python 3.11Có thể làm lại được @bharatjetti đã nhận 366 ngày trước và không có pull request nào đang mở. Đang mởstat:contributions welcome type:feature
tensorflow/tfx#7743 · 5 bình luận · 1 người được giao ·
-
Documentation for custom artifact in Vertex AICó thể làm lại được @lego0901 đã nhận 1203 ngày trước và không có pull request nào đang mở. Đang mởstat:awaiting tensorflower type:docs
tensorflow/tfx#6102 · 2 bình luận · 1 người được giao ·
Tất cả issue của tensorflow/tfx
Issue tương tự
-
[Bug]: graphify query loads every language extractor just for _file_stem (about 34 ms per call)Có thể đã có người làm @rohit-jsfreaky đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Graphify-Labs/graphify#5160 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Variable declared without a value suppresses ${VAR:-default} expansionCó thể đã có người làm @Omarinho12345 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
theskumar/python-dotenv#750 ·
Maintainer thường phản hồi trong vòng 12 ngày
-
Minor bug: Main page buttonĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Operations on a list[T] | None var throw when the value is NoneCó thể đã có người làm @masenf đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
reflex-dev/reflex#7826 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Upfront audit metrics accept out-of-range budgets and return impossible probabilitiesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
UKGovernmentBEIS/control-arena#947 ·
Maintainer thường phản hồi trong vòng 1 ngày