SHARE
TWEET

Untitled

a guest Apr 20th, 2019 95 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from IPython.core.display import display, clear_output, HTML, Javascript
  2. # 원래 있는 xgboost 0.7.post4 가 GPU 지원 안함. 새로 설치 필요
  3. !pip install xgboost==0.81 pandas redis # ipyvolume 은 어차피 colab 에서 안됨 ipyvolume==0.4.6
  4.  
  5. import multiprocessing
  6. multiprocessing.cpu_count()
  7. print('cpu_count:',multiprocessing.cpu_count())
  8. import psutil
  9. print('psutil.virtual_memory:',psutil.virtual_memory())
  10.  
  11. sample_data_dir = '/content/gdrive/My Drive/Colab Notebooks/sample_data/'  
  12. and kgc-0227/resize-div4/, kgc-0227/71cls_abc/data/save/keep/, kgc-0227/engines/tf/libdist
  13.  
  14. import os
  15. if not os.path.isdir(sample_data_dir):
  16.     from google.colab import drive
  17.     drive.mount('/content/gdrive')
  18.  
  19. !rsync -vP "{sample_data_dir}kgc-0222/images/dann-224.tar.gz" images/
  20. !tar -x -f images/dann-224.tar.gz -C images
  21.  
  22. %cd /content/gdrive/My Drive/Colab Notebooks/sample_data/kgc-0222
  23.  
  24. # clear_output()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top