aws / aws/sagemaker-python-sdk
ModelTrainer Local Mode PermissionError: [Errno 13] Permission denied: 'sm_drivers'
- 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ả
**Describe the bug**
A clear and concise description of what the bug is.
When running local mode example for ModelTrainer from example notebook, see an error like `PermissionError: [Errno 13] Permission denied: 'sm_drivers'` that seems to be coming during the cleanup process after the training is complete.
**To reproduce**
A clear, step-by-step set of instructions to reproduce the bug.
The provided code need to be **complete** and **runnable**, if additional data is needed, please include them in the issue.
Run local mode example from here - https://github.com/aws/amazon-sagemaker-examples/tree/default/%20%20%20%20%20%20build_and_train_models/sm-model_trainer
**Expected behavior**
A clear and concise description of what you expected to happen.
* Running the local mode should not fail with permission denied, can have graceful exit with message or ensure the local cleanup happens successfully
**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**: 2.240.0
- **Framework name (eg. PyTorch) or algorithm (eg. KMeans)**:
- **Framework version**:
- **Python version**:
- **CPU or GPU**:
- **Custom Docker image (Y/N)**:
**Additional context**
Add any other context about the problem here.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với ví dụ local-mode tại build_and_train_models/sm-model_trainer và tái hiện PermissionError trong quá trình dọn dẹp bằng SageMaker Python SDK 2.240.0. Theo dõi việc xử lý dọn dẹp cho 'sm_drivers' và xác minh rằng một lần hoàn tất bình thường sẽ kết thúc mà không có PermissionError và dọn dẹp thành công.
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
- cloud, 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
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100