-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
35 additions
and
11 deletions.
There are no files selected for viewing
Binary file not shown.
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,2 +1,23 @@ | ||
# Pytorch-Video-Classification | ||
Make video classification on UCF101 using CNN and RNN based on Pytorch framework. | ||
|
||
# Environments | ||
```bash | ||
# 1. torch >= 1.0 | ||
conda create -n lstm-cnn | ||
source activate lstm-cnn # or `conda activate lstm-cnn` | ||
# GPU version | ||
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch | ||
# CPU version | ||
conda install pytorch-cpu torchvision-cpu -c pytorch | ||
|
||
# 2. depencies | ||
pip install pandas scikit-learn tqdm opencv-python | ||
|
||
# 3. prepare datasets | ||
cp -r path/to/your/UCF ./data | ||
cd ./data && python make_train_test.py | ||
|
||
# 4. train your network | ||
python train.py | ||
``` |
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,3 @@ | ||
|
||
|
||
CUDA_VISIBLE_DEVICES=0 python train.py |