-
Notifications
You must be signed in to change notification settings - Fork 7.1k
[FEEDBACK] Documentation revamp: New layout, New models docs #5511
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
Comments
I am new to the PyTorch OSS ecosystem and wanted to get started so any documentation help might be a good place to start for me. I can give this a look. However it seems that the 0.12 version can't be displayed online. Or maybe one needs to run it locally? |
We haven't pushed them yet, but they're currently at https://pytorch.org/vision/main/transforms.html |
@NicolasHug Thanks for the quick response, it makes sense that these are built from a commit and not from a released version. 👌 What is the best feedback format that will help you in your investigation? |
The new layout is better in the sense that each function has more space to grow now that it is in its own page so longer examples can be added. One enhancement that I can see coming is slightly more details in the table view: for instance, adding the arguments types. This might be tricky to do maybe? I guess for now the new layout uses the short description part from docstrings to build the table. In anyway, looks good so far. 👍 |
The majority of work around the documentation is now complete. We'll leave the issue open to get the input of the community for further improvements. |
There is a lot of good documentation on model weights and model usage details. One suggestion would be to provide a link to https://pytorch.org/vision/main/models.html#table-of-all-available-classification-weights here https://pytorch.org/vision/main/models.html#initializing-pre-trained-models . I tried figuring out weight names for various models from the code . I found the link to the weights later when I scrolled down. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@mrinath123 Thanks for the feedback. I would recommend starting a new issue to discuss this in more detail, so that we can keep this one focused on the documentation. But note that your feedback is very valid and the Detection submodule needs some love. I will hold off from adding details here, let's chat about it on the new issue. Feel free to cc me and I'll post some potential workarounds for now. Again thanks for raising this. |
The new documentation content is pretty clean and well-structured. I especially like the updated model page. I just have a minor complaint about the category/page/section names. Previously in 0.11, it's |
@ain-soph Thanks for the feedback, it's definitely something we can look into on the near future. |
And another thought to improve docs in terms of sphinx theme. In my case, I find it extremely helpful to index methods of classes into the right sidebar. But it seems currently torchvision doesn't have such demand to index class methods. Any opinion on this? |
@ain-soph I really liked your sphinx theme, especially dynamically changing right sidebar. |
Another proposal that came originally from @NicolasHug was to keep permanently on the docs a reference of which weights mapped to the One potential solution was tried at #5993 but there were few limitations that we could't address. So either we need to introduce another annotation OR we could add manually a note on the doc that the specific set of weights was the one that linked to |
Some things appear to be missing from the docs. E.g. I second @ain-soph 's comment that it's nice when docs mimic the structure of the actual package, presumably this also makes it easier to generate the docs and keep them up to date since it's a more direct mapping. |
📚 Feedback Request
This issue is dedicated for collecting community feedback on the Documentation revamping efforts. Here are some highlighted changes:
We would love to get your thoughts, comments and input on how to improve our documentation.
The text was updated successfully, but these errors were encountered: