[BUG] - Incorrect list rendering in Google Colab tutorials
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 58/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- jupyter-notebook, python
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với mười URL của tutorial được liệt kê trong issue và so sánh từng phần bị ảnh hưởng trên trang HTML với notebook Google Colab được tạo tương ứng, sử dụng issue liên quan #3939 làm ngữ cảnh. Kiểm tra mã nguồn của các tutorial và đường dẫn tạo notebook để xác định vấn đề chung khi hiển thị danh sách. Hoàn thành khi tất cả các tutorial được liệt kê vẫn giữ các mục riêng biệt, marker, cấu trúc lồng nhau và phần văn bản xung quanh trong Colab.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Add Link
- https://docs.pytorch.org/tutorials/advanced/usb_semisup_learn.html
- https://docs.pytorch.org/tutorials/beginner/basics/autogradqs_tutorial.html
- https://docs.pytorch.org/tutorials/beginner/basics/data_tutorial.html
- https://docs.pytorch.org/tutorials/beginner/blitz/neural_networks_tutorial.html
- https://docs.pytorch.org/tutorials/beginner/nn_tutorial.html
- https://docs.pytorch.org/tutorials/intermediate/optimizer_step_in_backward_tutorial.html
- https://docs.pytorch.org/tutorials/recipes/recipes/profiler_recipe.html
- https://docs.pytorch.org/tutorials/recipes/recipes/timer_quick_start.html
- https://docs.pytorch.org/tutorials/recipes/torch_compiler_set_stance_tutorial.html
- https://docs.pytorch.org/tutorials/unstable/gpu_direct_storage.html
Describe the bug
Description
The list-rendering problem previously reported in #3939 also occurs in several other tutorials.
On the PyTorch Tutorials HTML pages, the affected lists render correctly. However, after opening the generated notebooks through Run in Google Colab, the same content is not rendered as a proper list.
Steps to reproduce
- Open one of the tutorial pages listed below.
- Select Run in Google Colab.
- Navigate to the affected section.
- Compare the list in Google Colab with the corresponding list on the tutorial HTML page.
Affected tutorials
1. USB Semi-Supervised Learning
Tutorial: https://docs.pytorch.org/tutorials/advanced/usb_semisup_learn.html
Affected content: the list of functions imported from semilearn in the Use USB to Train FreeMatch/SoftMatch on CIFAR-10 with only 40 labels section.
2. Automatic Differentiation with torch.autograd
Tutorial: https://docs.pytorch.org/tutorials/beginner/basics/autogradqs_tutorial.html
Affected content:
- the list in the note explaining gradient availability; and
- the list of reasons for disabling gradient tracking.
3. Datasets & DataLoaders
Tutorial: https://docs.pytorch.org/tutorials/beginner/basics/data_tutorial.html
Affected content: the FashionMNIST parameter list in the Loading a Dataset section.
4. Neural Networks
Tutorial: https://docs.pytorch.org/tutorials/beginner/blitz/neural_networks_tutorial.html
Affected content: the lists under Recap, At this point, we covered, and Still Left.
5. What is torch.nn really?
Tutorial: https://docs.pytorch.org/tutorials/beginner/nn_tutorial.html
Affected content: the list of assumptions in the Wrapping DataLoader section.
6. Optimizer Step in Backward
Tutorial: https://docs.pytorch.org/tutorials/intermediate/optimizer_step_in_backward_tutorial.html
Affected content: the numbered list following Several major observations.
7. PyTorch Profiler
Tutorial: https://docs.pytorch.org/tutorials/recipes/recipes/profiler_recipe.html
Affected content: the nested activity types under the activities profiler parameter in the Using profiler to analyze execution time section.
8. Timer Quick Start
Tutorial: https://docs.pytorch.org/tutorials/recipes/recipes/timer_quick_start.html
Affected content: the Contents list near the beginning of the tutorial.
9. Changing the Compilation Stance
Tutorial: https://docs.pytorch.org/tutorials/recipes/torch_compiler_set_stance_tutorial.html
Affected content: the list following Other stances include.
10. GPU Direct Storage
Tutorial: https://docs.pytorch.org/tutorials/unstable/gpu_direct_storage.html
Affected content: the list following The steps involved in the process are as follows.
Expected result
Lists in the generated Google Colab notebooks should preserve the same structure as the corresponding lists on the PyTorch Tutorials HTML pages:
- each item should appear on a separate line;
- bullet and numbered lists should retain their markers;
- nested items should retain their hierarchy; and
- surrounding prose should remain separate from the list.
Describe your environment
Google Colab
- Ngôn ngữ chính
- Python
- Star
- 9.3k
- Fork
- 4.4k
- Merge trung bình
- 1 ngày 21 giờ
- Pull request đã merge (30 ngày)
- 4
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 pytorch/tutorials
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Tất cả issue của pytorch/tutorials
Issue tương tự
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Đang mởarea: harness bug status: needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Human-Agent-Society/reef#625 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
learningequality/kolibri#15351 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Name consistency Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
eellak/triplestore#65 · 1 bình luận ·