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

[Doc] Add jupyter notebook tutorial #1660

Merged
merged 2 commits into from Sep 16, 2022
Merged

Conversation

Tau-J
Copy link
Collaborator

@Tau-J Tau-J commented Sep 15, 2022

Motivation

Modification

BC-breaking (Optional)

Use cases (Optional)

Checklist

Before PR:

  • I have read and followed the workflow indicated in the CONTRIBUTING.md to create this PR.
  • Pre-commit or linting tools indicated in CONTRIBUTING.md are used to fix the potential lint issues.
  • Bug fixes are covered by unit tests, the case that causes the bug should be added in the unit tests.
  • New functionalities are covered by complete unit tests. If not, please add more unit tests to ensure correctness.
  • The documentation has been modified accordingly, including docstring or example tutorials.

After PR:

  • CLA has been signed and all committers have signed the CLA in this PR.

@Tau-J Tau-J requested a review from ly015 September 15, 2022 05:34
@Ben-Louis
Copy link
Collaborator

To visualize the predicted result in jupyter notebook, it might be better to obtain the visualization result by

visualizer.add_datasample(
    'result',
    img,
    data_sample=data_samples,
    ...
    show=False,
    out_file=None)
img_vis = visualizer.get_image()

and then plot img_vis with cv2_imshow or matplotlib.pyplot.
In this way, the read/write processes of images can be avoided.

@ly015 ly015 merged commit afc05c0 into open-mmlab:dev-1.x Sep 16, 2022
ly015 pushed a commit that referenced this pull request Oct 14, 2022
* add colab tut

* update tutorial
ly015 pushed a commit that referenced this pull request Oct 14, 2022
* add colab tut

* update tutorial
shuheilocale pushed a commit to shuheilocale/mmpose that referenced this pull request May 6, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants