-
Notifications
You must be signed in to change notification settings - Fork 174
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
Eval/vbench #312
Merged
Merged
Eval/vbench #312
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
005c23c
to be debug
BeachWang 62a10c6
Merge branch 'main' of github.com:alibaba/data-juicer into eval/vbench
BeachWang 17d325a
merge main
BeachWang f6838e9
vbench-test done
BeachWang 9a3e25b
vbench test done
BeachWang 672a933
merge main
BeachWang d4575c7
merge main
BeachWang d904335
not install sandbox
BeachWang baaec06
torch not limit
BeachWang 019eee5
rm sandbox from all
BeachWang 7acde08
add torch limit back
BeachWang ec10488
install sandbox
BeachWang 5d914a1
fix readme
BeachWang 608d48e
rm torch upper limit
BeachWang bd9797c
add torch upper limit
BeachWang 3b2bd15
mv detectron2 to doc
BeachWang 103375e
merge main
BeachWang d64cca6
pre-commit done
BeachWang File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
type: vbench_video_evaluator | ||
|
||
# The vbench prompts for video generation. | ||
prompt_path: ./tools/mm_eval/vbench_metrics/VBench_full_info.json | ||
|
||
# The path to the dir of generated videos | ||
videos_path: /path/to/the/generated/videos | ||
|
||
# The dir to store the eval results | ||
result_dir: ./outputs/demo-sandbox/vbench_eval_results | ||
|
||
# Give a name for this eval | ||
eval_name: <eval_name> | ||
|
||
# If true, load the required model for VBench from the cache path of evironment parameter VBENCH_CACHE_DIR | ||
load_ckpt_from_local: false | ||
|
||
# The dimensions considered in this eval. | ||
# All dimensions include: ['subject_consistency', 'background_consistency', 'temporal_flickering', | ||
# 'motion_smoothness', 'dynamic_degree', 'aesthetic_quality', 'imaging_quality', 'object_class', | ||
# 'multiple_objects', 'human_action', 'color', 'spatial_relationship', 'scene', 'temporal_style', | ||
# 'appearance_style', 'overall_consistency'] | ||
# NOTE: Current version of vbench in pypi lacks of a third party code for motion_smoothness. | ||
# NOTE: Besides, when len(dimension_list) > 1, it would occur an error in video loading. | ||
dimension_list: | ||
- subject_consistency | ||
- dynamic_degree |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
torch>=1.11.0,<2.0.0 | ||
wandb | ||
fire | ||
pyspark | ||
# vbench-related | ||
vbench | ||
# modelscope-related | ||
modelscope |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
torch>=1.11.0 | ||
torch>=1.11.0,<2.0.0 | ||
torchaudio | ||
easyocr | ||
fasttext-wheel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
VBench from the paper "VBench: Comprehensive Benchmark Suite for Video Generative Models". | ||
|
||
Please refer to [GitHub](https://github.com/Vchitect/VBench) for more detail. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
VBench来自paper:"VBench: Comprehensive Benchmark Suite for Video Generative Models"。 | ||
|
||
请跳转[GitHub](https://github.com/Vchitect/VBench)查看更多信息。 |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里 <2.0.0 是 vbench 强制要求的吗?比赛中提供的 docker 是 torch 2.2.0