Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torch.utils.data.default_collate(batch) source link not working #1530

Open
franchesoni opened this issue Dec 14, 2023 · 1 comment
Open

torch.utils.data.default_collate(batch) source link not working #1530

franchesoni opened this issue Dec 14, 2023 · 1 comment

Comments

@franchesoni
Copy link

🕋 Website

https://pytorch.org/docs/stable/data.html#torch.utils.data.default_collate

To Reproduce

Steps to reproduce the behavior (if applicable):

  1. Go to 'https://pytorch.org/docs/stable/data.html#torch.utils.data.default_collate'
  2. Click on source ('https://pytorch.org/docs/stable/_modules/torch/utils/data/_utils/collate.html#default_collate'_)
  3. Oops!
    You've reached a dead end.
@Tony-Y
Copy link

Tony-Y commented Nov 30, 2024

That dead link now is in the docs for v2.1:

https://pytorch.org/docs/2.1/_modules/torch/utils/data/_utils/collate.html#default_collate

Edit
https://www.dead-link-checker.com/ detests two dead links in https://pytorch.org/docs/2.1/data.html and https://pytorch.org/docs/2.2/data.html:

2024/12/01 09:55:28 getting https://pytorch.org/docs/2.1/data.html
2024/12/01 09:55:30 getting https://pytorch.org/docs/2.1/_modules/torch/utils/data/_utils/collate.html
   --->>> ERROR!
2024/12/01 09:55:32 getting https://pytorch.org/docs/2.1/_modules/torch/utils/data/_utils/worker.html
   --->>> ERROR!
2024/12/01 10:51:19 getting https://pytorch.org/docs/2.2/data.html
2024/12/01 10:51:21 getting https://pytorch.org/docs/2.2/_modules/torch/utils/data/_utils/collate.html
   --->>> ERROR!
2024/12/01 10:51:23 getting https://pytorch.org/docs/2.2/_modules/torch/utils/data/_utils/worker.html
   --->>> ERROR!

This issue was fixed at version 2.3:

2024/12/01 10:55:09 getting https://pytorch.org/docs/2.3/data.html
2024/12/01 10:55:11 getting https://pytorch.org/docs/2.3/_modules/torch/utils/data/_utils/collate.html
2024/12/01 10:55:13 getting https://pytorch.org/docs/2.3/_modules/torch/utils/data/_utils/worker.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants