Upload README.md with huggingface_hub
Browse files
README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
task_categories:
|
| 4 |
+
- video-classification
|
| 5 |
+
- audio-classification
|
| 6 |
+
- image-to-text
|
| 7 |
+
pretty_name: Hav-Cocap AVCaps Dataset
|
| 8 |
+
tags:
|
| 9 |
+
- video-captioning
|
| 10 |
+
- audio-visual
|
| 11 |
+
- multimodal
|
| 12 |
+
- cocap
|
| 13 |
+
size_categories:
|
| 14 |
+
- 10K<n<100K
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# Hav-Cocap AVCaps Dataset
|
| 18 |
+
|
| 19 |
+
This dataset contains the complete CoCap and Hav-Cocap implementations for audio-visual captioning.
|
| 20 |
+
|
| 21 |
+
## Contents
|
| 22 |
+
|
| 23 |
+
- **CoCap/**: Original CoCap framework implementation
|
| 24 |
+
- **Hav-Cocap/**: Enhanced Hav-Cocap implementation with improvements
|
| 25 |
+
- **requirements.txt**: Python dependencies for the project
|
| 26 |
+
|
| 27 |
+
## Project Structure
|
| 28 |
+
|
| 29 |
+
### CoCap
|
| 30 |
+
- `cocap/`: Core modules for audio-visual captioning
|
| 31 |
+
- `data/`: Dataset loading and preprocessing
|
| 32 |
+
- `modeling/`: Model architectures and training
|
| 33 |
+
- `modules/`: Audio encoder, CLIP, BEATs, etc.
|
| 34 |
+
- `utils/`: Utility functions
|
| 35 |
+
- `configs/`: Configuration files for different datasets (MSRVTT, MSVD, VATEX)
|
| 36 |
+
- `tools/`: Training and evaluation scripts
|
| 37 |
+
- `model_zoo/`: Pre-trained model checkpoints
|
| 38 |
+
|
| 39 |
+
### Hav-Cocap
|
| 40 |
+
- `dataset/AVCaps/`: AVCaps dataset with videos and captions
|
| 41 |
+
- Train/Val/Test splits
|
| 42 |
+
- Video files (240p H.264 format)
|
| 43 |
+
- Caption annotations (JSON format)
|
| 44 |
+
- `learn/`: Educational notebooks and examples
|
| 45 |
+
- `model/`: Model architecture implementations
|
| 46 |
+
|
| 47 |
+
## Installation
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
pip install -r requirements.txt
|
| 51 |
+
```
|
| 52 |
+
|
| 53 |
+
## Dataset Details
|
| 54 |
+
|
| 55 |
+
The AVCaps dataset includes:
|
| 56 |
+
- Audio-visual caption pairs
|
| 57 |
+
- Multiple splits (train/val/test)
|
| 58 |
+
- Preprocessed video files
|
| 59 |
+
- JSON caption annotations
|
| 60 |
+
|
| 61 |
+
## Usage
|
| 62 |
+
|
| 63 |
+
See the training scripts in `CoCap/tools/` for training examples:
|
| 64 |
+
- `train_avcaps.py`: Main training script for AVCaps dataset
|
| 65 |
+
- `train_net.py`: General training script
|
| 66 |
+
|
| 67 |
+
## Citation
|
| 68 |
+
|
| 69 |
+
If you use this dataset or code, please cite the original CoCap paper and this dataset.
|
| 70 |
+
|
| 71 |
+
## License
|
| 72 |
+
|
| 73 |
+
MIT License - See LICENSE file for details
|