Azure / Azure/MachineLearningNotebooks

"datastore.upload_files" is deprecated after version 1.0.69

Đang mở
#1,672 6 bình luận 7 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Jupyter Notebook
Star
4.4k
Fork
2.6k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

In `azureml-core 1.37.0.post1`, we have gotten the warning message like the below:
```
"datastore.upload_files" is deprecated after version 1.0.69. Please use "FileDatasetFactory.upload_directory" instead. See Dataset API change notice at https://aka.ms/dataset-deprecation.
```

It seems that the URL points to [this page](https://github.com/Azure/MachineLearningNotebooks/blob/b05ff80e9dfc3d1a38031e9e701ebed841760463/how-to-use-azureml/work-with-data/dataset-api-change-notice.md), but there is no information for migration.

`datastore.upload_files` could specify files as a list explicitly even if the directory contains the file we don't want to upload like credential data, the file which contains personal data before processing, and so on.

How to use `FileDatasetFactory.upload_directory` as same as `datastore.upload_files`?

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với thông báo thay đổi dataset API được liên kết trong issue và tài liệu Azure ML về datastore.upload_files và FileDatasetFactory.upload_directory. Ghi lại cách di chuyển khi chỉ những tệp được chọn mới cần được tải lên, bao gồm các tùy chọn API liên quan và một ví dụ ngắn gọn. Công việc được xem là hoàn tất khi thông báo giải thích workflow tương đương và đề cập đến các tệp bị loại trừ.

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

Đánh giá

Công nghệ
azure, python
Lĩnh vực
documentation, machine-learning
Loại issue
Tài liệu
Độ khó
2/5
Thời gian dự kiến
Nửa ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/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.