- 博客(10)
- 收藏
- 关注
转载 install Chinese input in the ubuntu english version
install language packages:system settings --> language support -->install/remove languageschoose chinese,click apply. install ibus framework:sudo apt-get install ibus ibus-clutter ibus...
2018-07-27 10:49:25 699
转载 vim settings
install vim: sudo apt-get install cimchange the vim settings file:cd /etc/vimsudo gedit vimrc add some information in the last line of the vimrc:syntax on //highligh...
2018-07-27 10:38:47 210
原创 blender install ubuntu
via PPA:sudo add-apt-repository ppa:thomas-schiex/blender sudo apt-get updatesudo apt-get install blender
2018-07-20 17:57:59 338
原创 check pytorch version and install
install pytorch with specific version :conda install pytorch=0.1.10 -c soumithpip install pytorch=0.1.10 check the version:import torchprint(torch.__version__)
2018-07-19 10:24:02 5200 1
原创 python opencv crop image
import osimport cv2image = cv2.imread('img1.jpg')cropImg = image[int(302-150):int(302+150), int(278-150):int(278+150)]cv2.imwrite('crop1.jpg', cropImg)
2018-07-18 20:22:16 6856 2
原创 tensorboard: it was already in use
lsof -i:6006(pytorch_tf) cc@cc:~/test$ lsof -i:6006COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEtensorboa 40813 cc 3u IPv4 606165 0t0 TCP *:x11-6 (LISTEN)kill -9 40813...
2018-07-11 16:32:50 434
原创 python: the number is not float type
from __future__ import divisionkernel = t.ones(3,3)/-9kernel[1][1] = 8/9kernel
2018-07-04 16:07:11 390
原创 python hdf5
import h5pyimport numpy as np# the train.h5 is the annotation of pascal3df = h5py.File('train.h5', 'r')print f.keys()a_center = f['center'][:]print a_centerfile_center = open("test_center.t...
2018-07-03 17:19:59 727
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人