8000 Add a new example for video feature vector input by xianyuanliu · Pull Request #293 · pykale/pykale · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add a new example for video feature vector input #293

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

Open
wants to merge 63 commits into
base: main
Choose a base branch
from

Conversation

xianyuanliu
Copy link
Member
@xianyuanliu xianyuanliu commented Jan 26, 2022

Description

This PR follows PR #291 and #292, upgrading DA Trainers for feature vector input. Trainers on video image input and video feature vector input have two main differences below:

  1. Three modality choices in image input: RGB, Flow and joint (RGB+Flow), due to no Audio available now; Five in feature vector: RGB, Flow, Audio, joint and all (RGB+Flow+Audio).
  2. One class type in image input: verb; Two in feature: verb, verb+noun.

The main changes are below:

  1. Add Audio branch into the pipeline.
  2. Update optimizer work with SGD and ADAM.
  3. Add adaptive choice into source/target dataset sampling.
  4. Add JSON logger for EPIC UDA challenge.
  5. Reduce dummy network dimension in test_video_domain_adapter.

Status

Ready

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • Breaking change (fix or new feature that would cause existing functionality to change).
  • New tests added to cover the changes.
  • In-line docstrings updated.
  • Source for documentation at docs manually updated for new API.

@codecov-commenter
Copy link
codecov-commenter commented Jan 27, 2022

Codecov Report

Attention: Patch coverage is 90.52248% with 78 lines in your changes missing coverage. Please review.

Project coverage is 92.31%. Comparing base (e42b4ec) to head (2f7770f).
Report is 1492 commits behind head on main.

Files with missing lines Patch % Lines
kale/pipeline/video_domain_adapter.py 91.01% 40 Missing ⚠️
kale/loaddata/video_multi_domain.py 67.85% 18 Missing ⚠️
kale/loaddata/videos.py 90.00% 7 Missing ⚠️
kale/loaddata/multi_domain.py 53.84% 6 Missing ⚠️
kale/loaddata/video_access.py 94.44% 4 Missing ⚠️
kale/embed/video_feature_extractor.py 93.10% 2 Missing ⚠️
kale/embed/attention_cnn.py 98.38% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #293      +/-   ##
==========================================
- Coverage   92.98%   92.31%   -0.68%     
==========================================
  Files          45       45              
  Lines        4635     5163     +528     
==========================================
+ Hits         4310     4766     +456     
- Misses        325      397      +72     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@xianyuanliu xianyuanliu marked this pull request as ready for review January 29, 2022 04:23
@github-actions
Copy link
Contributor
github-actions bot commented Oct 7, 2022

This pull request has been automatically marked as stale due to lack of activity.

@github-actions github-actions bot added the Stale label Oct 7, 2022
@xianyuanliu xianyuanliu added Stale and removed Stale labels Dec 9, 2024
@github-actions github-actions bot removed the Stale label Dec 10, 2024
Copy link
Contributor

This pull request has been automatically marked as stale due to lack of activity.

@github-actions github-actions bot added Stale and removed Stale labels Jan 25, 2025
Copy link
Contributor

This pull request has been automatically marked as stale due to lack of activity.

@github-actions github-actions bot added Stale and removed Stale labels Mar 12, 2025
Copy link
Contributor

This pull request has been automatically marked as stale due to lack of activity.

@github-actions github-actions bot added Stale and removed Stale labels Apr 27, 2025
Copy link
Contributor

This pull request has been automatically marked as stale due to lack of activity.

@github-actions github-actions bot added Stale and removed Stale labels Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature/module (including request)
Projects
Status: In progress
Development

Successfully merging this pull request may close these issues.

2 participants

Footer

© 2025 GitHub, Inc.
0