일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 딥러닝
- Anaconda
- windows
- download
- object detection
- ubuntu
- keras
- shakeratos
- linux
- install
- face_recognition
- error
- CUDA
- colaboratory
- dlib
- gpu memory
- raspberry pi
- pyTorch
- colab
- ppc64le
- YouTube 8M
- TensorFlow
- Deep Learning
- urllib
- dataset
- FIle
- python3
- python
- Windows 10
- Jupyter notebook
- Today
- Total
목록전체 글 (77)
Shakerato
1. At first, Uninstall 'Android Studio' 2. Delete Android SDK C:\Users\[User]\AppData\Local\Android 3. Go to %USERPROFILE% (Copy %USERPROFILE% to address bar in My Computer) 3.1. Delete folder '.android' 3.2. Delete folder '.AndroidStudio' 3.3. Delete folder '.gradle' 3.4. Delete folder '.AndroidStudio1.3'
1. check cuda9.0 installed (nvcc --version) (if yet, install cuda) https://developer.nvidia.com/cuda-90-download-archive (if no gpu) pass this step 2, Install Anaconda https://www.anaconda.com/download/ 3. in 'cmd' conda create -n pytorch python=3.6 anaconda (follow https://anaconda.org/soumith/pytorch)4. in 'cmd' conda install pytorch cuda90 -c pytorch (if no gpu) conda install pytorch-cpu -c p..
Add below code into the "/youtube-8m-master/video_level_models.py" You can run this code from console(terminal). I use Windows PowerShell. python train.py --feature_names='mean_rgb,mean_audio' --feature_sizes='1024,128' --model='MyModel' --train_data_pattern=C:/Users/yoon/Desktop/youtube8m/yt8m/v2/video/train*.tfrecord --train_dir C:/Users/yoon/Desktop/youtube8m/yt8m/v2/models/video/sample_model..
## 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..
* What is YouTube 8M dataset? https://research.google.com/youtube8m/download.html * How to download the dataset?* You have to download the dataset only on the Linux! (not Windows), because of duplicated file names. (Windows does not allow this situation: 'Ab.txt', 'aB.txt' in the same folder) 1. Download 'download_fix.py' file from this URL: https://storage.googleapis.com/data.yt8m.org/download_..
import urllib.request as urllib2import timeimport logging def fileDownload(url, file_name): logging.basicConfig(level=logging.INFO) logger = logging.getLogger('[fileDownload]') num_of_retries = 3 time_interval = 2 for retrycnt in range(num_of_retries): try: u = urllib2.urlopen(url) break except Exception as e: logger.error(' Faild to download: ' + str(e) + ', Number of remaining attempts: ' \ + ..