According to mit official code, we reduce and modify some codes for jester dataset.
- Python 3.6
- PyTorch 1.2
- Opencv 3.4
- Other packages can be found in
requirements.txt
Firstly, we need to download the Jester dataset. Then, we process the data and generate corresponding labels. Finally, we get category.txt, train_videofolder.txt, val_videofolder.txt and test_videofolder.txt documents.
python3 datas/generate_label.py
bash train.sh
After total training epochs, you can get result.csv, that is the test result document, including video number and corresponding label.