Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Model does not have a sagemaker_session property

オープン
#5,829 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@mohamedzeidan2021 がすでに取り組んでいます。

2026年9月27日 から。

  • #6338 @mohamedzeidan2021 による — オープン

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
aws, python

調査の方向性

まず、報告された再現に関係する ModelStep、Model クラス、および register model step の引数を特定します。repack step が model.sagemaker_session にどのようにアクセスするか、またモデル仕様がその属性をどのように扱うかを確認します。Model のインスタンスで repack step を指定して ModelStep をインスタンス化できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

PySDK Version

  • PySDK V2 (2.x)
  • [ X] PySDK V3 (3.x)

Describe the bug
A clear and concise description of what the bug is.

ModelStep expects the Model class to have a sagemaker_session attribute but the spec does not allow it

To reproduce

Provide a Model instance as the model argument of the register model step arguments

Expected behavior
ModelStep can be instantiated with a repack step

Screenshots or logs
If applicable, add screenshots or logs to help explain your problem.

System information
A description of your system. Please provide:

  • SageMaker Python SDK version: 3
  • Framework name (eg. PyTorch) or algorithm (eg. KMeans): SKLearn
  • Framework version: 1.4.2
  • Python version: 3.11
  • CPU or GPU: CPU
  • Custom Docker image (Y/N): N

Additional context
Add any other context about the problem here.

主要言語
Python
スター
2.3k
フォーク
1.3k
平均マージ
3日 2時間
マージ済み PR(30日)
70

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

aws/sagemaker-python-sdk のほかの issue

aws/sagemaker-python-sdk の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。