Spaces:
Runtime error
Runtime error
Update project profile.
Browse files- .gitignore +54 -0
- pyproject.toml +39 -0
.gitignore
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Python
|
| 2 |
+
__pycache__
|
| 3 |
+
*.pyc
|
| 4 |
+
*.egg-info
|
| 5 |
+
dist
|
| 6 |
+
|
| 7 |
+
# Log
|
| 8 |
+
*.log
|
| 9 |
+
*.log.*
|
| 10 |
+
*.json
|
| 11 |
+
*.jsonl
|
| 12 |
+
log_dir*/
|
| 13 |
+
|
| 14 |
+
# Data
|
| 15 |
+
!**/alpaca-data-conversation.json
|
| 16 |
+
|
| 17 |
+
# Editor
|
| 18 |
+
.idea
|
| 19 |
+
*.swp
|
| 20 |
+
|
| 21 |
+
# Other
|
| 22 |
+
.DS_Store
|
| 23 |
+
|
| 24 |
+
# jupyter
|
| 25 |
+
.ipynb_checkpoints
|
| 26 |
+
*.ipynb
|
| 27 |
+
|
| 28 |
+
# DevContainer
|
| 29 |
+
!.devcontainer/*
|
| 30 |
+
|
| 31 |
+
# Demo
|
| 32 |
+
serve_images/
|
| 33 |
+
|
| 34 |
+
# data folder
|
| 35 |
+
data/
|
| 36 |
+
dataset/
|
| 37 |
+
datasets/
|
| 38 |
+
|
| 39 |
+
# training folder
|
| 40 |
+
wandb
|
| 41 |
+
ckpts*
|
| 42 |
+
output
|
| 43 |
+
output/
|
| 44 |
+
checkpoints
|
| 45 |
+
checkpoints/
|
| 46 |
+
work_dirs*/
|
| 47 |
+
|
| 48 |
+
# evaluation folder
|
| 49 |
+
/eval/
|
| 50 |
+
|
| 51 |
+
# pretrained weights
|
| 52 |
+
pretrained/
|
| 53 |
+
publish_models/
|
| 54 |
+
public_models/
|
pyproject.toml
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[build-system]
|
| 2 |
+
requires = ["setuptools>=61.0"]
|
| 3 |
+
build-backend = "setuptools.build_meta"
|
| 4 |
+
|
| 5 |
+
[project]
|
| 6 |
+
name = "videollama2"
|
| 7 |
+
version = "1.0"
|
| 8 |
+
description = "Release of VideoLLaMA2"
|
| 9 |
+
readme = "README.md"
|
| 10 |
+
requires-python = ">=3.8"
|
| 11 |
+
classifiers = [
|
| 12 |
+
"Programming Language :: Python :: 3",
|
| 13 |
+
"License :: OSI Approved :: Apache Software License",
|
| 14 |
+
]
|
| 15 |
+
dependencies = [
|
| 16 |
+
"torch>=2.0.1", "torchvision>=0.15.2",
|
| 17 |
+
"tokenizers==0.15.1", "sentencepiece==0.1.99",
|
| 18 |
+
"transformers==4.37.2", "accelerate==0.21.0",
|
| 19 |
+
"deepspeed==0.13.1", "peft==0.4.0", "shortuuid",
|
| 20 |
+
"decord==0.6.0", "pytorchvideo==0.1.5", "imageio==2.34.0", "imageio-ffmpeg==0.4.9",
|
| 21 |
+
"moviepy==1.0.3", "scenedetect==0.6.3", "numpy", "scikit-learn==1.2.2",
|
| 22 |
+
"einops==0.6.1", "einops-exts==0.0.4", "timm==0.6.13",
|
| 23 |
+
"bitsandbytes==0.41.0", "pydantic<2,>=1", "markdown2[all]",
|
| 24 |
+
"gradio==3.35.2", "gradio_client==0.2.9",
|
| 25 |
+
"requests", "httpx==0.24.0", "openai", "uvicorn", "fastapi", "wandb"
|
| 26 |
+
]
|
| 27 |
+
|
| 28 |
+
[project.optional-dependencies]
|
| 29 |
+
train = ["ninja"]
|
| 30 |
+
|
| 31 |
+
[project.urls]
|
| 32 |
+
"Homepage" = "https://github.com/DAMO-NLP-SG/VideoLLaMA2"
|
| 33 |
+
"Bug Tracker" = "https://github.com/DAMO-NLP-SG/VideoLLaMA2/issues"
|
| 34 |
+
|
| 35 |
+
[tool.setuptools.packages.find]
|
| 36 |
+
exclude = ["assets*", "benchmark*", "docs", "dist*", "playground*", "scripts*", "tests*"]
|
| 37 |
+
|
| 38 |
+
[tool.wheel]
|
| 39 |
+
exclude = ["assets*", "benchmark*", "docs", "dist*", "playground*", "scripts*", "tests*"]
|