일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- dlib
- download
- Deep Learning
- FIle
- python3
- TensorFlow
- pyTorch
- face_recognition
- shakeratos
- YouTube 8M
- Anaconda
- keras
- python
- ppc64le
- colaboratory
- CUDA
- colab
- Jupyter notebook
- urllib
- install
- raspberry pi
- linux
- gpu memory
- Windows 10
- windows
- error
- object detection
- dataset
- 딥러닝
- ubuntu
- Today
- Total
Shakerato
Video Action Classification using 3D ResNet 본문
Reference:
https://github.com/kenshohara/video-classification-3d-cnn-pytorch
(Linux)
1. Install Anaconda and Setup Pytorch (GPU)
2. Download code from Github (https://github.com/kenshohara/video-classification-3d-cnn-pytorch)
3. Download Pre-trained Model and copy to source code folder (resnext-101-kinetics.pth)
https://drive.google.com/drive/folders/1zvl89AgFAApbH0At-gMuZSeQB_LpNP-M
conda install -c anaconda ffmpeg
(Windows) -- Not Recommend
1. Install Anaconda and Setup Pytorch (GPU)
2. Download code from Github (https://github.com/kenshohara/video-classification-3d-cnn-pytorch)
3. Download Pre-trained Model and copy to source code folder (resnext-101-kinetics.pth)
https://drive.google.com/drive/folders/1zvl89AgFAApbH0At-gMuZSeQB_LpNP-M
4. Download FFmpeg and copy to source code folder
5. Change code (subprocess.call() is for removing and creating folders in linux)
(shutil is need for windows) import shutil subprocess.call('rm -rf tmp', shell=True) --> (Change like this) if os.path.exists('tmp'): shutil.rmtree('tmp') subprocess.call('mkdir tmp', shell=True) --> (Change like this) os.makedirs('tmp') |
6. Run a code
python main.py --input ./input --video_root ./videos --output ./output.json --model ./resnext-101-kinetics.pth --resnet_shortcut B --mode score --model_name resnext --model_depth 101
7. You can get result file (output.json) "segment": [start frame number, end frame number], "label": " "
'Research' 카테고리의 다른 글
usb 대용량 파일 전송 실패 해결방법 (드라이브 포멧 변경 fat32 -> ntfs) (0) | 2019.03.01 |
---|---|
pytorch CUDNN_STATUS_EXECUTION_FAILED error (Anaconda3) (0) | 2019.02.23 |
convert *.mat data file to json file (0) | 2019.02.14 |
Theano (using GPU) install in Windows 10 (0) | 2019.02.07 |
딥러닝 객체인식 네트워크 retinanet 내 데이터셋으로 학습하는 방법 (1) | 2019.01.17 |