Skip to content

Instantly share code, notes, and snippets.

View dongzhuoyao's full-sized avatar
💭
I may be slow to respond.

Tao Hu dongzhuoyao

💭
I may be slow to respond.
View GitHub Profile
@dongzhuoyao
dongzhuoyao / Install NVIDIA Driver and CUDA.md
Last active June 7, 2018 12:35 — forked from zhanwenchen/Install NVIDIA Driver and CUDA.md
Install NVIDIA CUDA 9.0 on Ubuntu 16.04.4 LTS
@dongzhuoyao
dongzhuoyao / py3.5_ubuntu_14.04.txt
Created May 29, 2018 16:57 — forked from larainema/py3.5_ubuntu_14.04.txt
how to install python3.5 on ubuntu 14.04
Felix Krull runs a PPA offering basically any version of Python (seriously, there is 2.3.7 build for vivid...) for many Ubuntu releases at
https://launchpad.net/~fkrull/+archive/ubuntu/deadsnakes
Do the usual:
sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update
sudo apt-get install python3.5
It will not overwrite your existing python3.4 which is still symlinked as python3. If you want python3.5 to be the default python3, change the symlink
name: "VGG_ILSVRC_16_layers"
layer {
name: 'input-data'
type: 'Python'
top: 'data'
top: 'im_info'
top: 'gt_boxes'
top: 'need_backprop'
top: 'dc_label'
python_param {
name: "VGG_coco_SSD_300x300_train"
layer {
name: "data"
type: "AnnotatedData"
top: "data"
top: "label"
include {
phase: TRAIN
}
transform_param {
layer {
name: "first_img"
type: "Input"
top: "first_img"
top: "second_img"
top: "first_label"
top: "second_label"
input_param {
shape {
dim: 1
使用规范
服务器配置: cuda 8.0, cudnn6.0.21
1.需要sudo权限的同学,简单操作我帮你做,复杂操作我暂时给你sudo权限,过后收回。
(系统崩了就得重装,重装系统虽简单,但是琐碎且耗时,因此为了管理方便,sudo权限采用集中管理)
2.大型数据存放在/data1,/data2,/data3,/data4,/data5,/data6这些硬盘上面。
3.不要私自建立账户,需要建立账户提前跟我联系。
virturalenv
sudo apt-get install python-dev
保存当前环境安装包
pip freeze > requirements.txt
安装大礼包
pip install -r requirements.txt
@dongzhuoyao
dongzhuoyao / READ.md
Last active December 14, 2017 06:07
tf.debug cheatsheet

list_tensors -n confc.*

fn+pagedown

name: "SE-ResNet-50"
# mean_value: 104, 117, 123
layer {
name: "data"
type: "Input"
top: "data"
input_param: {
shape: {
dim: 1
dim: 3