Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
270 commits
Select commit Hold shift + click to select a range
ed4bb21
[fix] motion_smoothness loading error
ziqihuangg Nov 30, 2023
d90b666
[update] background consistency
JustinYuu Dec 1, 2023
3c8541d
[fix] color
yinanhe Dec 1, 2023
53801c4
Merge branch 'master' of github.com:Vchitect/VBench
yinanhe Dec 1, 2023
6098472
[fix] scene
yinanhe Dec 1, 2023
f024524
[fix] subject consistency
yinanhe Dec 1, 2023
8f3ed6f
[fix] consistency
yinanhe Dec 1, 2023
eed61b4
[fix] overall consistency
yinanhe Dec 4, 2023
9ae22f5
[update] load checkpoint options
ziqihuangg Dec 4, 2023
ce35150
Merge branch 'master' of https://github.com/Vchitect/VBench
ziqihuangg Dec 4, 2023
b51b7ed
[fix] fix overall consis
yinanhe Dec 4, 2023
f076b2f
Merge branch 'master' of github.com:Vchitect/VBench
yinanhe Dec 4, 2023
6282768
fix bug
zhangfan-p Dec 4, 2023
bceeed7
[update] read frame method
ziqihuangg Dec 6, 2023
f4ca516
[fix] some dimensions
yinanhe Dec 7, 2023
3d25cc5
[fix] human_action
ziqihuangg Dec 8, 2023
df651fb
[fix] multiple dimensions
ziqihuangg Dec 8, 2023
7c2fc5b
[add] mapping "dimension name -> video folder name"
ziqihuangg Dec 8, 2023
4b19e10
[fix] video paths & wget commands
ziqihuangg Dec 8, 2023
9c88357
[add] evaluate.sh
ziqihuangg Dec 8, 2023
c7aee20
[update] evaluate multiple models and dimensions
ziqihuangg Dec 8, 2023
f0acbaa
Delete pretrained/dino_model/facebookresearch_dino_main
zhangfan-p Dec 8, 2023
2d11312
[add] sampling instructions
ziqihuangg Dec 11, 2023
3b18855
Merge branch 'master' of https://github.com/Vchitect/VBench
ziqihuangg Dec 11, 2023
2940a47
[update] video sampling instruction
JustinYuu Dec 11, 2023
b1cf70e
[update] add video sampling instruction
JustinYuu Dec 11, 2023
5d62e22
[update] add video sampling instructions
JustinYuu Dec 11, 2023
9f98a9b
[update] some dimention
yinanhe Dec 11, 2023
f7c2f8e
Merge branch 'master' of github.com:Vchitect/VBench
yinanhe Dec 11, 2023
7b70d1c
[update] sampling instruction
ziqihuangg Dec 11, 2023
728b0cc
[update] README.md for sampling instructions
ziqihuangg Dec 11, 2023
aa5f087
[update] arXiv paper link
ziqihuangg Dec 11, 2023
48daf59
[update] video sampling instructions
JustinYuu Dec 12, 2023
cd950ee
[update] all dimension prompt list
JustinYuu Dec 12, 2023
9344551
[update] all dimension prompt list
JustinYuu Dec 12, 2023
53da618
Update README.md
zhangfan-p Dec 12, 2023
be133b1
[update] subject_consistency
ziqihuangg Dec 13, 2023
ab90148
[delete] gitmodules not used
ziqihuangg Dec 13, 2023
3f66475
[add] all_categories.txt
ziqihuangg Dec 14, 2023
dbf9935
[update] sampling instruction and combined prompts
ziqihuangg Dec 14, 2023
21f250a
[fix] subject consistency read_frame
zhangfan-p Dec 15, 2023
0ba657c
[fix] temporal flickering-skip empty file
zhangfan-p Dec 17, 2023
e26257d
[fix] add num_frames parameter
zhangfan-p Dec 17, 2023
fe655df
[fix] human action set num_frames=16
zhangfan-p Dec 17, 2023
fd3613a
[add] static-filter
zhangfan-p Dec 25, 2023
84051f7
Update README.md
zhangfan-p Dec 25, 2023
d50d102
[refactor]: for building package
NattapolChan Dec 27, 2023
a40df20
[add]: add static filter
NattapolChan Dec 27, 2023
b337355
Merge branch 'master' into dev
NattapolChan Dec 27, 2023
c88f72d
[update]: update readme && restructure grit
NattapolChan Dec 28, 2023
2627479
[update]: add usage in readme
NattapolChan Dec 28, 2023
f954e69
[fix]: add centernet2
NattapolChan Dec 28, 2023
2771a46
[fix] grit model
NattapolChan Dec 29, 2023
f8a6bd1
[fix]: normalize imaging quality score to [0,1]
NattapolChan Dec 29, 2023
274a468
[fix]: import ObjDetection in subject_consistency
NattapolChan Dec 29, 2023
9d1e853
[update]: update requirements && fix import
NattapolChan Dec 29, 2023
a06572e
[fix]: import path
NattapolChan Dec 29, 2023
171b656
[update] load_video func
zhangfan-p Jan 2, 2024
c7b9e12
Merge branch 'master' of github.com:Vchitect/VBench
zhangfan-p Jan 2, 2024
85df893
[add] frame extraction module
zhangfan-p Jan 2, 2024
eff4d12
[update] set num_frames
zhangfan-p Jan 2, 2024
73eb30e
[update] 16 T2V dimensions
ziqihuangg Jan 3, 2024
bc67b48
[update] README 16 T2V dimensions
ziqihuangg Jan 3, 2024
ee39091
[update] add logger&check_and_move func
zhangfan-p Jan 5, 2024
d522b51
[fix]: cache directory
NattapolChan Jan 6, 2024
46faff4
[fix]: indentation
NattapolChan Jan 8, 2024
b71ae1c
[update]: cache dir structure and change os.system -> subprocess.run
NattapolChan Jan 10, 2024
5680061
[update]: add check condition in subprocess
NattapolChan Jan 10, 2024
63c80c8
[fix]: path to amt yaml
NattapolChan Jan 10, 2024
fa9f434
[update]: restructure GRIT & UMT cache/config
NattapolChan Jan 10, 2024
1695e6b
[fix]: config file excluded after build
NattapolChan Jan 11, 2024
045f515
Update README.md
NattapolChan Jan 11, 2024
a46e6cf
[update]: pretrained download location
NattapolChan Jan 11, 2024
edd464b
Update README.md
NattapolChan Jan 11, 2024
cc68b18
[update]: change to subcommand
NattapolChan Jan 11, 2024
d72139e
[update]: optimize import time
NattapolChan Jan 12, 2024
5ef8653
[update] PyPI use case
ziqihuangg Jan 16, 2024
b527bd4
[update]: pin transformers version
NattapolChan Jan 16, 2024
971e6cf
[update]: cleanup unused file
NattapolChan Jan 16, 2024
697fc36
[update]: separate readme from pypi description
NattapolChan Jan 16, 2024
c42a17c
[merge]: check_and_move, set num_frames, video loading
NattapolChan Jan 17, 2024
45bf3fe
[update]: change prompt file path in static_filter
NattapolChan Jan 17, 2024
c6d2bf7
Merge branch 'dev'
NattapolChan Jan 17, 2024
7c77ce8
[update] PyPI instruction
ziqihuangg Jan 18, 2024
8893a16
[add] vbench logo
ziqihuangg Jan 18, 2024
121860d
[update] vbench logo
ziqihuangg Jan 18, 2024
eb04328
Merge branch 'dev'
NattapolChan Jan 18, 2024
1392b2d
[update]: v0.1.1
NattapolChan Jan 18, 2024
e21b1f4
[fix] prompt format
ziqihuangg Jan 18, 2024
3251da4
[update] README.md
ziqihuangg Jan 18, 2024
91363e8
[fix]: (1) add warning for video not found
ziqihuangg Jan 19, 2024
91bece8
[update]: change --dimension to receive list inputs
NattapolChan Jan 23, 2024
8046fcb
Create model_path.txt
yinanhe Jan 30, 2024
85dd5d7
[update] README.md
ziqihuangg Feb 1, 2024
627cfee
Merge remote-tracking branch 'origin/master' into dev
NattapolChan Feb 2, 2024
a9f29ce
[add] radar charts
zhangfan-p Feb 4, 2024
a7d56ed
Update README.md
zhangfan-p Feb 4, 2024
90f0973
[fix]: add VBench_full_info.json to pypi package
NattapolChan Feb 5, 2024
7757e9a
[fix]: results filename
NattapolChan Feb 5, 2024
55bc069
Merge remote-tracking branch 'origin/master' into dev
NattapolChan Feb 5, 2024
3aeea62
Update README.md
zhangfan-p Feb 29, 2024
19b5a26
Update README.md
zhangfan-p Feb 29, 2024
56520e1
Merge remote-tracking branch 'origin/master' into dev
NattapolChan Mar 10, 2024
e751887
Update README.md
ziqihuangg Mar 12, 2024
a4dec75
[feat]: evaluate script for custom input prompt
NattapolChan Mar 16, 2024
8ec55f8
[add]: allow input to be path to a single video
Mar 16, 2024
fdf3af7
[update]: readme for custom prompt usage
NattapolChan Mar 17, 2024
fbf5a58
Revert "[update]: readme for custom prompt usage"
NattapolChan Mar 17, 2024
32e7a3e
[update]: readme for custom prompt usage
NattapolChan Mar 17, 2024
caa212a
Update README.md
NattapolChan Mar 17, 2024
5ff22fa
[upgrade] support customized video evaluation
ziqihuangg Mar 18, 2024
082b1b1
Merge branch 'dev'
ziqihuangg Mar 18, 2024
c4575a1
[update] REAMD.md
ziqihuangg Mar 19, 2024
64c7f8f
[update] README.md
ziqihuangg Mar 19, 2024
aaf3c4f
Update README.md
zhangfan-p Mar 22, 2024
409bd3e
[Major Update] VBench-I2V
ziqihuangg Mar 25, 2024
614acf6
Merge branch 'master' of https://github.com/Vchitect/VBench
ziqihuangg Mar 25, 2024
b7685cb
[Major Update] VBench-Reliability
ziqihuangg Mar 25, 2024
b85f61d
[Update] README and gitignore
ziqihuangg Mar 25, 2024
7e2f815
update
ziqihuangg Mar 25, 2024
a0682a8
[add] image_name key
zhangfan-p Mar 28, 2024
fb78c29
[add] pseudo-code for sampling
zhangfan-p Mar 28, 2024
627d2d7
[add] example of evaluation
zhangfan-p Apr 1, 2024
c99a21b
[feat]: (vbench evaluate) read prompt from external file or with --pr…
NattapolChan Apr 4, 2024
ddc9d98
Merge branch 'master' into dev
NattapolChan Apr 4, 2024
efaa6d3
[feat]: (vbench evaluate) fix --prompt and --prompt_file flag
NattapolChan Apr 4, 2024
02a0ccd
[fix]: (vbench evaluate) handle case of inconsistent rel-abs path
NattapolChan Apr 5, 2024
186d66a
[fix] (vbench evaluate) change to path relative to --videos_path
NattapolChan Apr 5, 2024
9a4ad9f
[add] Sampled Video Info
zhangfan-p Apr 15, 2024
1e29f4f
[add] all_category & checkpoint link
zhangfan-p Apr 18, 2024
ec57ed6
[update] Model Info
zhangfan-p Apr 18, 2024
df2fbdb
[update] Model Info
zhangfan-p Apr 18, 2024
1dfc9fb
[update] Model Info
zhangfan-p Apr 18, 2024
78cbfa6
[update] dataset instructions
ziqihuangg Apr 18, 2024
887b5fb
[update] dataset of sampled videos
ziqihuangg Apr 18, 2024
939dcbd
[update] sampled videos release
ziqihuangg Apr 18, 2024
28c139e
[Update] Human Preference
yinanhe Apr 19, 2024
78511a4
[add] competition prompts
ziqihuangg Apr 19, 2024
79b3fa5
[update] README
ziqihuangg Apr 20, 2024
ecc000d
[fix] refactor VBench-Trustworthiness
ziqihuangg Apr 20, 2024
1851be8
[add] competition requirements
ziqihuangg Apr 20, 2024
f35773e
Update README-pypi.md
NattapolChan Apr 13, 2024
02e2ee1
[feat] add option for evaluating on a specific category
NattapolChan Apr 14, 2024
83cd873
[fix] typo
NattapolChan Apr 16, 2024
b66e97d
[fix] command description format
NattapolChan Apr 16, 2024
5d74732
[update] readme
NattapolChan Apr 16, 2024
b5cd866
[fix] remove -{number} from prompt reading
NattapolChan Apr 16, 2024
772aed0
[fix] path issue for evaluating on category mode
NattapolChan Apr 16, 2024
986e888
[feat] more flexible static_filter option
NattapolChan Apr 16, 2024
fb75b02
[chore] add static_filter.py
NattapolChan Apr 17, 2024
1f9b9a9
[fix] VBench_full_info.json not found in static_filter
NattapolChan Apr 17, 2024
a9ff90d
[chore] sync ~/evaluate.py with vbench/cli/evaluate.py
NattapolChan Apr 18, 2024
46275d9
[feat]: handling larger res in imaging_quality
NattapolChan Apr 18, 2024
82019b9
[feat**] add flag for image_quality preprocessing
NattapolChan Apr 19, 2024
e7f1123
[fix] sync evaluate
NattapolChan Apr 19, 2024
6143968
[fix] change default preprocessing mode in imaging_quality to longer
NattapolChan Apr 20, 2024
8257677
[refactor] vbench evaluate a category
ziqihuangg Apr 21, 2024
584e068
[update] code for trustworthiness
xjxu21 Apr 22, 2024
66e71b8
[update] competition evaluation rules
ziqihuangg Apr 22, 2024
79ae32e
t pushMerge branch 'master' of https://github.com/Vchitect/VBench
ziqihuangg Apr 22, 2024
6149caf
[update] quality dimension
zhangfan-p Apr 24, 2024
1ff6aa1
[update] sampled video info
ziqihuangg Apr 24, 2024
ae56635
[add] Extra Info
zhangfan-p Apr 25, 2024
059a136
[update] sampled videos info
ziqihuangg Apr 25, 2024
3dd2ef0
[add] long video prompt information
ziqihuangg Apr 25, 2024
8e65e18
[update] model info
zhangfan-p Apr 25, 2024
34e252a
[update] model info
ziqihuangg Apr 25, 2024
dd6af9c
Merge remote-tracking branch 'refs/remotes/origin/master'
ziqihuangg Apr 25, 2024
51316e1
[update] README
ziqihuangg Apr 25, 2024
0b3cbf7
[update] download script
zhangfan-p Apr 26, 2024
3573aa6
[add] crop image script
zhangfan-p Apr 26, 2024
b484867
[fix] imaging_quality preprocessing
NattapolChan Apr 26, 2024
7c4e858
[update] image suite
zhangfan-p Apr 26, 2024
7cc976b
Merge branch 'master' of github.com:Vchitect/VBench
zhangfan-p Apr 26, 2024
d6de21b
[update] I2V image suite instructions
ziqihuangg Apr 26, 2024
ec4b013
[add] image of image_size_distribution
zhangfan-p Apr 26, 2024
54e1f10
[add] extra info
zhangfan-p Apr 26, 2024
2e4a3a7
[add] extra info
zhangfan-p Apr 26, 2024
5d895ac
[update] I2V benchmark info and figures
ziqihuangg Apr 26, 2024
ac4a36f
[update] VBench-I2V readme
ziqihuangg Apr 26, 2024
ada2457
[tmp fix] detectron2 installation
NattapolChan Apr 26, 2024
a9885d8
[add] Image Suite resolution distribution
ziqihuangg Apr 29, 2024
d88071a
Update README.md
NattapolChan May 1, 2024
3574982
[add] competition instructions and long prompt list
ziqihuangg May 8, 2024
60760d5
[add] evaluation pipeline
zhangfan-p May 11, 2024
b686056
[fix] eval_results format
zhangfan-p May 11, 2024
4360c8b
[add] bibtex
zhangfan-p May 16, 2024
ee95430
[add] VBench Beta Long
MqLeet May 17, 2024
ebf92d2
[fix] clip issues for custom prompt & makedir issue
piddnad May 21, 2024
e9be1de
[add] Slow Fast Evaluation
MqLeet May 28, 2024
03e7b94
[fix] Usage of the temporal flickering dimension
zhangfan-p May 29, 2024
8179ce6
[update] PyPI v0.1.2 release
NattapolChan May 30, 2024
5f9101c
Update README.md
NattapolChan May 30, 2024
03c285a
[update] Slow Fast Evaluation README and some weight params
MqLeet May 31, 2024
17662f5
[fix] incorrect assert
NattapolChan Jun 1, 2024
ece679a
Merge pull request #29 from piddnad/master
NattapolChan Jun 2, 2024
6ea7c13
[udpate] sampled video information
ziqihuangg Jun 4, 2024
18fb59c
[update] sampled video information
MqLeet Jun 5, 2024
37aaaee
[update] sampled video information
DZY-irene Jun 5, 2024
c8e3c97
[update] README
ziqihuangg Jun 5, 2024
bb9e318
[update] table of contents
ziqihuangg Jun 5, 2024
6e821cc
[add] leaderboard submission instruction
ziqihuangg Jun 5, 2024
3b7c6a4
Update README.md
lmxyy Jun 5, 2024
cbdb6af
Merge pull request #36 from lmxyy/patch-1
ziqihuangg Jun 6, 2024
e35d51c
[update] readme
ziqihuangg Jun 7, 2024
fe06fcc
[update] Slow Fast Evaluation Params
MqLeet Jun 7, 2024
d995211
Update .gitignore
NattapolChan Jun 9, 2024
92486c3
[update] VBench-Long readme
ziqihuangg Jun 10, 2024
5c6b427
[fix] minor typos
ziqihuangg Jun 10, 2024
b625430
[add] competition-long eval script
zhangfan-p Jun 11, 2024
d804c57
[update] env
zhangfan-p Jun 11, 2024
0e14c46
[fix] run_eval error
zhangfan-p Jun 12, 2024
b6f182b
[add] chinese prompts, per dimension
ziqihuangg Jun 12, 2024
ca7b3d9
[fix] video count error
ziqihuangg Jun 12, 2024
f8dcbbb
[add] chinese prompts
zhangfan-p Jun 13, 2024
0e6299e
[add] Info of OpenSora V1.2
MqLeet Jun 20, 2024
4885ea2
[fix] Info of OpenSora V1.2
MqLeet Jun 20, 2024
52252fd
[add] higen&tft2v info
DZY-irene Jun 20, 2024
d79faf5
[update] static_filter function in temporal_flickering dimension for …
MqLeet Jun 21, 2024
c6faaa2
[update] google drive link
DZY-irene Jun 24, 2024
dd4b428
[fix] VBench-Longbug: consistency fused score not mapped
ziqihuangg Jun 26, 2024
e256570
[fix] VBench-Long bug: counting number of fused results
MqLeet Jun 26, 2024
592c3a1
[Update] get final score(t2v)
yinanhe Jun 28, 2024
a9c8faa
Update README.md
yinanhe Jun 28, 2024
1973f54
Update and rename cal_overall_score.py to cal_final_score.py
yinanhe Jun 28, 2024
d708bb9
Update README.md
yinanhe Jun 28, 2024
6a0da71
Update README.md
DZY-irene Jun 28, 2024
07bafab
Update README.md
DZY-irene Jun 28, 2024
f2bca08
Update google drive link
DZY-irene Jul 2, 2024
bc65e71
[fix] interval bug
zhangfan-p Jul 2, 2024
5ebbf0b
Merge branch 'recovery-branch'
zhangfan-p Jul 2, 2024
56d30fa
[add] control the number of samples per prompt
MqLeet Jul 2, 2024
b4c00f1
[fix] some bugs in preprocessing temporal_flickering dimension
MqLeet Jul 2, 2024
11abda9
[fix] fps<8 bug
zhangfan-p Jul 3, 2024
c537fbd
[fix] resolve prompt translation issue
zhangfan-p Jul 4, 2024
c5aa922
[update] code for trustworthiness
xjxu21 Jul 7, 2024
702583b
Add info for InstructVideo
DZY-irene Jul 9, 2024
813fdd5
Update google drive link
DZY-irene Jul 9, 2024
e7f070a
[update] code for i2v
zhangfan-p Jul 12, 2024
1d090a7
[add] Add info of OpenSora v1.1 OpenSoraPlan v1.1 Mira
MqLeet Jul 12, 2024
6e38177
fix: conflict deps
NattapolChan Jul 14, 2024
8e1845d
Update README.md
NattapolChan Jul 14, 2024
75dc9f2
speed up 'mp4' format video load
simplaj Jul 11, 2024
6c1874a
[update] add i2v-quality dims
zhangfan-p Jul 22, 2024
edf32e6
[add] evaluate script
zhangfan-p Jul 22, 2024
2300a8c
[add] evaluate script
zhangfan-p Jul 22, 2024
ec9fbf1
[fix] script_name
zhangfan-p Jul 22, 2024
f8a87ce
[fix] add evaluate flag
zhangfan-p Jul 22, 2024
58642fd
[add] pika 1.0 & gen-3
zhangfan-p Jul 25, 2024
2fe4ebf
Fix a typo
lmxyy Jul 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
__pycache__/
*.py[cod]
*$py.class
*.DS_Store

# C extensions
*.so
Expand Down Expand Up @@ -165,3 +166,10 @@ cython_debug/

# development logs
private_dev/*
evaluation_results/*.json
vbench/third_party/ViCLIP/bpe_simple_vocab_16e6.txt.gz
trash*
prepublish-ci/*

# image suite
vbench2_beta_i2v/data
9 changes: 0 additions & 9 deletions .gitmodules

This file was deleted.

201 changes: 201 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

1. Definitions.

"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.

"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.

"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.

"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.

"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.

"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.

"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).

"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.

"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."

"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.

2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.

3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.

4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:

(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and

(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and

(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and

(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.

You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.

5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.

6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.

7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.

8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.

9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS

APPENDIX: How to apply the Apache License to your work.

To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
5 changes: 5 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
include version.txt
include requirements.txt
recursive-include vbench/third_party *.yaml
recursive-include vbench *.json
recursive-include vbench *.txt
115 changes: 115 additions & 0 deletions README-pypi.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
![vbench_logo](https://raw.githubusercontent.com/Vchitect/VBench/master/asset/vbench_logo_short.jpg)

**VBench** is a comprehensive benchmark suite for video generative models. You can use **VBench** to evaluate video generation models from 16 different ability aspects.

This project is the PyPI implementation of the following research:
> **VBench: Comprehensive Benchmark Suite for Video Generative Models**<br>
> [Ziqi Huang](https://ziqihuangg.github.io/)<sup>∗</sup>, [Yinan He](https://github.com/yinanhe)<sup>∗</sup>, [Jiashuo Yu](https://scholar.google.com/citations?user=iH0Aq0YAAAAJ&hl=zh-CN)<sup>∗</sup>, [Fan Zhang](https://github.com/zhangfan-p)<sup>∗</sup>, [Chenyang Si](https://chenyangsi.top/), [Yuming Jiang](https://yumingj.github.io/), [Yuanhan Zhang](https://zhangyuanhan-ai.github.io/), [Tianxing Wu](https://tianxingwu.github.io/), [Qingyang Jin](https://github.com/Vchitect/VBench), [Nattapol Chanpaisit](https://nattapolchan.github.io/me), [Yaohui Wang](https://wyhsirius.github.io/), [Xinyuan Chen](https://scholar.google.com/citations?user=3fWSC8YAAAAJ), [Limin Wang](https://wanglimin.github.io), [Dahua Lin](http://dahua.site/)<sup>+</sup>, [Yu Qiao](http://mmlab.siat.ac.cn/yuqiao/index.html)<sup>+</sup>, [Ziwei Liu](https://liuziwei7.github.io/)<sup>+</sup><br>

[![Paper](https://img.shields.io/badge/cs.CV-Paper-b31b1b?logo=arxiv&logoColor=red)](https://arxiv.org/abs/2311.17982)
[![Project Page](https://img.shields.io/badge/VBench-Website-green?logo=googlechrome&logoColor=green)](https://vchitect.github.io/VBench-project/)
[![HuggingFace](https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-Leaderboard-blue)](https://huggingface.co/spaces/Vchitect/VBench_Leaderboard)
[![Video](https://img.shields.io/badge/YouTube-Video-c4302b?logo=youtube&logoColor=red)](https://www.youtube.com/watch?v=7IhCC8Qqn8Y)
[![Visitor](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2FVchitect%2FVBench&count_bg=%23FFA500&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=visitors&edge_flat=false)](https://hits.seeyoufarm.com)

## Installation
```
pip install vbench
```

To evaluate some video generation ability aspects, you need to install [detectron2](https://github.com/facebookresearch/detectron2) via:
```
pip install detectron2@git+https://github.com/facebookresearch/detectron2.git
```

If there is an error during [detectron2](https://github.com/facebookresearch/detectron2) installation, see [here](https://detectron2.readthedocs.io/en/latest/tutorials/install.html).

## Usage

### Evaluate Your Own Videos
We support evaluating any video. Simply provide the path to the video file, or the path to the folder that contains your videos. There is no requirement on the videos' names.
- Note: We support customized videos / prompts for the following dimensions: `'subject_consistency', 'background_consistency', 'motion_smoothness', 'dynamic_degree', 'aesthetic_quality', 'imaging_quality'`


To evaluate videos with customed input prompt, run our script with `--mode=custom_input`:
```
python evaluate.py \
--dimension $DIMENSION \
--videos_path /path/to/folder_or_video/ \
--mode=custom_input
```
alternatively you can use our command:
```
vbench evaluate \
--dimension $DIMENSION \
--videos_path /path/to/folder_or_video/ \
--mode=custom_input
```

### Evaluation on the Standard Prompt Suite of VBench

##### command line
```bash
vbench evaluate --videos_path $VIDEO_PATH --dimension $DIMENSION
```
For example:
```bash
vbench evaluate --videos_path "sampled_videos/lavie/human_action" --dimension "human_action"
```
##### python
```python
from vbench import VBench
my_VBench = VBench(device, <path/to/VBench_full_info.json>, <path/to/save/dir>)
my_VBench.evaluate(
videos_path = <video_path>,
name = <name>,
dimension_list = [<dimension>, <dimension>, ...],
)
```
For example:
```python
from vbench import VBench
my_VBench = VBench(device, "vbench/VBench_full_info.json", "evaluation_results")
my_VBench.evaluate(
videos_path = "sampled_videos/lavie/human_action",
name = "lavie_human_action",
dimension_list = ["human_action"],
)
```

### Evaluation on a specific category from VBench

##### command line
```bash
vbench evaluate \
--videos_path $VIDEO_PATH \
--dimension $DIMENSION \
--mode=vbench_category \
--category=$CATEGORY
```
or
```
python evaluate.py \
--dimension $DIMENSION \
--videos_path /path/to/folder_or_video/ \
--mode=vbench_category
```

## Prompt Suite

We provide prompt lists are at `prompts/`.

Check out [details of prompt suites](https://github.com/Vchitect/VBench/tree/master/prompts), and instructions for [**how to sample videos for evaluation**](https://github.com/Vchitect/VBench/tree/master/prompts).

## Citation

If you find this package useful for your reports or publications, please consider citing the VBench paper:

```bibtex
@article{huang2023vbench,
title={{VBench}: Comprehensive Benchmark Suite for Video Generative Models},
author={Huang, Ziqi and He, Yinan and Yu, Jiashuo and Zhang, Fan and Si, Chenyang and Jiang, Yuming and Zhang, Yuanhan and Wu, Tianxing and Jin, Qingyang and Chanpaisit, Nattapol and Wang, Yaohui and Chen, Xinyuan and Wang, Limin and Lin, Dahua and Qiao, Yu and Liu, Ziwei},
journal={arXiv preprint arXiv:2311.17982},
year={2023}
}
```
Loading