일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- object detection
- Windows 10
- shakeratos
- pyTorch
- ppc64le
- colab
- face_recognition
- Jupyter notebook
- colaboratory
- ubuntu
- TensorFlow
- gpu memory
- YouTube 8M
- Anaconda
- dlib
- download
- python
- python3
- raspberry pi
- error
- dataset
- urllib
- windows
- keras
- 딥러닝
- linux
- FIle
- Deep Learning
- install
- CUDA
- Today
- Total
목록linux (6)
Shakerato
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-M4. Install FFmpe..
. (현재폴더) --> (특정폴더로 변경 가능) find . -type f | sed -n 's/..*\.//p' | sort | uniq -c
1. Basic code of urlretrieve to download a fileurllib.request.urlretrieve(source_url, destination_path) 2. Advanced code of urlretrive to display the download percentage.def download_file(source_url, destination_path): """Downloads `source_url` onto `destionation_path`.""" def _progress(count, block_size, total_size): sys.stderr.write('\r>> Downloading %s %.1f%%' % ( source_url, float(count * bl..
1. Install applicationsudo apt-get install gnustep-gui-runtime 2. test tts like belowsay "hello" 3. create python code 'tts.py' import os os.system('say "hello"') 4. Run codepython tts.py
python 3.x와 python 2.x가 같이 설치되어있을 경우,일방적으로 python 2.x가 python 명령 default로 설정되어있음. terminal에서 아래 명령을 실행하면, alias python=python3 를 실행 후 python --version 체크하면 python 3임을 확인할 수 있음 vi ~/.bashrc 에 위 명령을 마지막 라인에 추가하면 linux 시작하자마자 기본으로 설정됨
## To avoid duplicate file names problem in Windows (e.g. Ab.txt, aB.txt),## At first, I download the dataset and renamed the file names in the Linux OS.## then, I copy renamed files to my Windows desktop for training deep neural network.## Renamed dataset also works well on the YouTube-8M training code. import osimport shutil oldpath = '/data/yt8m/v2/video/'newpath = '/data/yt8m/v2/video2/' fil..