Skip to content

Conversation

@NicolasHug
Copy link
Member

@NicolasHug NicolasHug commented Dec 9, 2021

Accidentally messed up the link in #5076 - tests pass now

(raft) ➜  vision git:(main) ✗ PYTORCH_TEST_WITH_PROTOTYPE=1 pytest test/test_prototype_models.py -k raft
============================================================================== test session starts ===============================================================================
platform linux -- Python 3.9.6, pytest-6.2.5, py-1.10.0, pluggy-0.13.1
rootdir: /fsx/users/nicolashug/work/vision, configfile: pytest.ini
plugins: mock-3.6.1
collected 555 items / 543 deselected / 12 selected

test/test_prototype_models.py ............                                                                                                                                 [100%]

================================================================================ warnings summary ================================================================================
test/test_prototype_models.py::test_old_vs_new_factory[cpu-raft_large]
test/test_prototype_models.py::test_old_vs_new_factory[cpu-raft_small]
test/test_prototype_models.py::test_old_vs_new_factory[cuda-raft_large]
test/test_prototype_models.py::test_old_vs_new_factory[cuda-raft_small]
  /fsx/users/nicolashug/work/vision/torchvision/prototype/models/_utils.py:71: UserWarning: The parameter 'pretrained' is deprecated, please use 'weights' instead.
    warnings.warn(

test/test_prototype_models.py::test_old_vs_new_factory[cpu-raft_large]
test/test_prototype_models.py::test_old_vs_new_factory[cuda-raft_large]
  /fsx/users/nicolashug/work/vision/torchvision/prototype/models/_utils.py:84: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated. The current behavior is equivalent to passing `weights=Raft_Large_Weights.C_T_V2`. You can also use `weights=Raft_Large_Weights.default` to get the most up-to-date weights.
    warnings.warn(msg)

test/test_prototype_models.py::test_old_vs_new_factory[cpu-raft_small]
test/test_prototype_models.py::test_old_vs_new_factory[cuda-raft_small]
  /fsx/users/nicolashug/work/vision/torchvision/prototype/models/_utils.py:84: UserWarning: Arguments other than a weight enum or `None` for 'weights' are deprecated. The current behavior is equivalent to passing `weights=Raft_Small_Weights.C_T_V2`. You can also use `weights=Raft_Small_Weights.default` to get the most up-to-date weights.
    warnings.warn(msg)

-- Docs: https://docs.pytest.org/en/stable/warnings.html
================================================================= 12 passed, 543 deselected, 8 warnings in 8.12s =================================================================

cc @datumbox

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Dec 9, 2021

💊 CI failures summary and remediations

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



1 failure not recognized by patterns:

Job Step Action
CircleCI binary_linux_conda_py3.6_cu111 packaging/build_conda.sh 🔁 rerun

1 job timed out:

  • binary_linux_conda_py3.6_cu111

🚧 1 ongoing upstream failure:

These were probably caused by upstream breakages that are not fixed yet.


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.

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

LGTM!

@NicolasHug NicolasHug merged commit 22a23e8 into pytorch:main Dec 9, 2021
@NicolasHug NicolasHug added the other if you have no clue or if you will manually handle the PR in the release notes label Dec 9, 2021
@github-actions
Copy link

github-actions bot commented Dec 9, 2021

Hey @NicolasHug!

You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

facebook-github-bot pushed a commit that referenced this pull request Dec 17, 2021
Reviewed By: fmassa

Differential Revision: D33185000

fbshipit-source-id: be7cfb0195df5f5c02ed35018b60086b4d077cc1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/default cla signed module: models other if you have no clue or if you will manually handle the PR in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants