Skip to content

Moving sequence_to_str to torchvision._utils #5604

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

Merged
merged 4 commits into from
Mar 14, 2022

Conversation

datumbox
Copy link
Contributor

@datumbox datumbox commented Mar 14, 2022

Partially fixes #4679

The method sequence_to_str is used both by prototype models and datasets. The work on #5603 requires moving it on the torchvision._utils private package but during this move we modify prototype.datasets. As this will almost certainly lead to conflicts, I'm bringing this move on a separate PR. The method is added on a private package so future changes can be made without BC worries.

@facebook-github-bot
Copy link

facebook-github-bot commented Mar 14, 2022

💊 CI failures summary and remediations

As of commit 13e5eb6 (more details on the Dr. CI page):


  • 1/1 failures introduced in this PR

1 failure not recognized by patterns:

Job Step Action
CircleCI cmake_macos_cpu curl -o conda.sh https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
sh conda.sh -b
source $HOME/miniconda3/bin/activate
conda install -yq conda-build cmake
packaging/build_cmake.sh
🔁 rerun

This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

@datumbox datumbox requested a review from pmeier March 14, 2022 13:09
@datumbox datumbox force-pushed the utils/sequence_to_str branch from 4ba169f to 4ccc7f1 Compare March 14, 2022 13:14
Copy link
Collaborator

@pmeier pmeier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM when CI is green.

@datumbox
Copy link
Contributor Author

The failing test is unrelated.

@datumbox datumbox merged commit bb79470 into pytorch:main Mar 14, 2022
@datumbox datumbox deleted the utils/sequence_to_str branch March 14, 2022 14:54
facebook-github-bot pushed a commit that referenced this pull request Mar 15, 2022
Summary:
* Moving `sequence_to_str` to `torchvision._utils`

* Fix linter

* Rename test_prototype_utils test to test_internal_utils

Reviewed By: vmoens

Differential Revision: D34878983

fbshipit-source-id: 02a5425a9d25056035d28307cf307e0c5353c94f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move new model builders from Prototype to main TorchVision
3 participants