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

add HMDB51 and UCF101 datasets as well as prototype for new style video decoding #5422

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Feb 15, 2022

Redo of #5335 since I can't reopen it after it was automatically closed.

@facebook-github-bot
Copy link

facebook-github-bot commented Feb 15, 2022

💊 CI failures summary and remediations

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


  • 2/2 failures introduced in this PR

🕵️ 1 new failure recognized by patterns

The following CI failures do not appear to be due to upstream breakages:

See CircleCI build unittest_prototype (1/1)

Step: "Run tests" (full log | diagnosis details | 🔁 rerun)

�[31m=============================== �[31m�[1m1...0.72s�[0m�[31m ===============================�[0m
Traceback:
/usr/local/lib/python3.7/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
test/test_prototype_videoutils.py:6: in <module>
    from torchvision.io import _HAS_VIDEO_DECODER, _HAS_VIDEO_OPT, VideoReader
E   ImportError: cannot import name '_HAS_VIDEO_DECODER' from 'torchvision.io' (/home/circleci/project/torchvision/io/__init__.py)�[0m
------ generated xml file: /home/circleci/project/test-results/junit.xml -------
=========================== short test summary info ============================
ERROR test/test_prototype_videoutils.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
�[31m=============================== �[31m�[1m1 error�[0m�[31m in 0.72s�[0m�[31m ===============================�[0m


Exited with code exit status 2


1 failure not recognized by patterns:

Job Step Action
CircleCI lint_python_and_config Lint Python code and config files 🔁 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.

for resource in self.dataset.resources(config):
with unittest.mock.patch(
"torchvision.prototype.datasets.utils._resource.OnlineResource.download",
side_effect=TypeError(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
side_effect=TypeError(
side_effect=pytest.UsageError(

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.

UCF101 HMDB51
2 participants