This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ubuntu 14.04 64bit caffe model -> ncnn model -> ncnn android ->android apk | |
0、protobuf 安装 //没这玩意儿opencv都编译不过 | |
sudo apt-get install autoconf automake libtool curl make g++ unzip | |
git clone https://github.com/google/protobuf.git | |
./autogen.sh | |
./configure | |
make | |
make check | |
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding:utf8 | |
import urllib2 | |
class HtmlDownloader(object): | |
def download(self,url): | |
if url is None: | |
return None | |
response = urllib2.urlopen(url) | |
if response.getcode() !=200: | |
return None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding:utf8 | |
import urllib2 | |
class HtmlDownloader(object): | |
def download(self,url): | |
if url is None: | |
return None | |
response = urllib2.urlopen(url) | |
if response.getcode() !=200: | |
return None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#coding:utf8 | |
import urllib2 | |
class HtmlDownloader(object): | |
def download(self,url): | |
if url is None: | |
return None | |
response = urllib2.urlopen(url) | |
if response.getcode() !=200: | |
return None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "hello gist"; | |
?> |