原创 Merge two sort list

#include<iostream>#include<vector>using namespace std;struct ListNode { int

原创 pyTorch——訓練第一個分類器要點解讀

網絡構建 數據加載 * 引入函數庫 import torch import torchvision import torchvision.transforms as transforms *將讀入的數據進行轉化: transfor

原创 extract a crop from image and remark groundtruth(if left then flip)

#!/usr/bin/env python2# -*- coding: utf-8 -*-"""Created on Sat Feb 10 19:16:02 2018@author: xiaobing.wa

原创 pb->pbtxt

import tensorflow as tf net = tf.GraphDef() net.ParseFromString(open("/home/mingyang/google_pb/retrained_graph_mb.pb

原创 Merge two sort list<easy>

#include<iostream>#include<vector>using namespace std;struct ListNode { int val; ListNode *next; ListNo

原创 處理Ubuntu中的dpkg錯誤

root@sunnyin-win:~# mv /var/lib/dpkg/info/ /var/lib/dpkg/info_backup/ root@sunnyin-win:~# mkdir /var/lib/dpkg/info/  

原创 歡迎使用CSDN-markdown編輯器

歡迎使用Markdown編輯器寫博客 本Markdown編輯器使用StackEdit修改而來,用它寫博客,將會帶來全新的體驗哦: Markdown和擴展Markdown簡潔的語法 代碼塊高亮 圖片鏈接和圖片上傳 LaTex數學公式 UM

原创 運行deploy時更改使用的caffe

caffe_path = 'path/to/caffe/root' import sys,os sys.path.insert(0,os.path.join(caffe_path,'python')) import caffe說明;

原创 How to install Android Studio on Ubuntu?

https://askubuntu.com/questions/634082/how-to-install-android-studio-on-ubuntu floor 10.

原创 plot point on pictures via json

#!/usr/bin/env python2# -*- coding: utf-8 -*-"""Created on Wed Feb 28 18:52:38 2018@author: xiaobing.wa

原创 matlab:利用hold on 在一個figure上顯示多張圖

panoImage = imread('./bu.jpg');figure()imshow(panoImage);[x,y] = ginput();hold onplot(x,y,'r*')