aws / aws/sagemaker-python-sdk

Model does not have a sagemaker_session property

Đang mở
#5,829 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
2.3k
Fork
1.3k
Merge trung bình
1 ngày 22 giờ
Pull request đã merge (30 ngày)
35

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách xác định ModelStep, lớp Model và các đối số của register model step liên quan đến reproduction được báo cáo. Kiểm tra cách repack step truy cập model.sagemaker_session và cách đặc tả model xử lý thuộc tính đó; hoàn thành khi một instance của Model có thể khởi tạo ModelStep với một repack step.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, python
Lĩnh vực
machine-learning
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/100

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.