- 博客(92)
- 收藏
- 关注
原创 raspberry config
Makefle.config ## Refer to http://caffe.berkeleyvision.org/installation.html # Contributions simplifying and improving our build system are welcome! # cuDNN acceleration switch (uncomment to build with cuDNN). # USE_CUDNN := 1 # CPU-only switch (uncommen
2020-09-09 15:13:08
265
2
原创 caffe安装错误记录
问题: CXX/LD -o .build_release/examples/ssd/ssd_detect.bin /usr/bin/ld: .build_release/examples/ssd/ssd_detect.o: undefined reference to symbol '_ZN2cv12VideoCaptureD1Ev' /usr/bin/ld: //usr/lib/arm-linux-gnueabihf/libopencv_videoio.so.3.2: error adding symbo
2020-09-09 09:07:19
322
原创 config
## Refer to http://caffe.berkeleyvision.org/installation.html # Contributions simplifying and improving our build system are welcome! # cuDNN acceleration switch (uncomment to build with cuDNN). # USE_CUDNN := 1 # CPU-only switch (uncomment to build with
2020-09-04 20:46:58
253
1
原创 对象和类
const成员函数 void show()const; land.show(); show()是land对象的成员函数。const限定符表示不会修改对象的属性。 this指针 this指向被调用对象本身,是对象的地址。*this是对象的值。 友元函数 可以访问类私有属性的非成员函数 ...
2020-08-12 11:28:32
153
原创 AJAX
XMLHttpRequest的使用 创建XMLHttpRequest 使用open方法,初始化请求参数 使用send方法,发送请求 使用onreadystatechange属性,接收返回数据 var xhr = new XMLHttpRequest(); xhr.open("get", "/ajax", true) xhr.send() xhr.onreadystatechange = function(){ } ...
2020-08-10 09:10:12
151
原创 第9章 内存模型与名称空间习题
a. 自动变量 b.应该在一个文件中将secret定义为外部变量,并在第二个文件中使用extern来声明它。 c.可以在外部定义前加上关键字static,将topsecret定义为一个有内部链接的静态变量,也可在一个未命名的名称空间中进行定义。 d.应在函数中的声明前加上关键字static,将beencalled定义为一个本地静态变量。 using 声明:using 名称空间名 :: 名称 例如:using Jill:: fetch;//这是一个using 声明。 using 编译指令:usin...
2020-08-09 17:18:41
137
原创 内存模型和名称空间
引入头文件 include <coordin.h> include "coordin.h" 尖括号: 在标准头文件中查找 双引号: 先在当前g 先在当前工作目录查找;找不到,则去查找标准头文件 几种变量存储方式 自动变量 int x; 在程序开始执行所属的函数和代码块时创建;在执行完函数和代码快时被释放。 寄存器变量 register int x; 变量存储在寄存器中,因此不能通过地址来访问 静态变量 int global = 1000;//静态变量,外部链接性 static
2020-08-09 16:44:30
152
原创 内置对象
栈:由操作系统自动分配释放存放函数的参数值、局部变量的值等。简单数据类型存放在栈里面。 堆:存储复杂类型(对象),一般由程序员分配释放。若程序员不释放,由垃圾回收机制回收。复杂类型存放在堆里面。 ...
2020-08-08 11:30:28
150
原创 函数与对象
函数声明 利用函数关键字自定义函数 function f(){ } 函数表达式 var f = function(){ } 作用域 在函数内不使用var声明直接赋值的变量 function f(){ var a = 0 } console.log(a) 对象 利用字面量创建 var obj = { name: "jim", age: 18 sayHi: function(){
2020-08-07 12:37:07
131
原创 Docker
常用命令 docker version docker info 列出正在运行的容器 docker ps 启动容器 docker -help docker run –name=“容器新名字” -d: 后台运行容器 -i: 以交互模式运行容器 -t: 为容器重新分配一个伪终端 退出容器 exit 容器停止退出 ctrl+P+Q 容器不停止退出 ...
2020-07-24 20:25:16
127
原创 函数
内联函数 inline double square(double x) { return x*x; } 在函数定义/声明前加上inline。 引用变量 创建引用变量 int a; int & b = a; a和b指向相同的指和内存单元。 int a = 1; int & b = a;//引用 int *c = a;//指针 引用与指针的相同点: 都可以通过b和*c来访问和修改变量 引用与指针的不同点: 引用必须在声明时就初始化,而指针可以先声明再赋值 在引用初始化后,就与改变量关联起
2020-07-22 17:07:51
203
原创 数据类型
js书写位置 行内式 <body> <input type="button" value="dog" onclick="alert('cat')"> </body> 内嵌式 <head> <script> alert("tiger"); </script> </head> 外部js #html <head> <script src="my.j
2020-07-15 12:08:22
163
原创 CSS定位
定位 定位属性 position 元素在页面中的位置 定位位置 top bottom left right 层级 z-index 层级越大、值越大、越是覆盖在其他元素上边 只在position属性为absolute时有效 相对定位 relative 相对于标准文档流中的默认位置来定位 绝对定位 absolute 相对于除static定位之外的第一个父元素进行定位。如果没有,就相对于页面定位。 ...
2020-07-05 12:13:55
137
原创 CSS浮动
浮动 float 属性 样式 none 不浮动 left 向左浮动 right 向右浮动 清除浮动 clear 元素浮动引起父元素塌陷,影响布局效果。 clear属性 属性 样式 none 无控制 left 左侧不允许浮动 right 右侧不允许浮动 both 两侧都不允许浮动 overflow属性 设置元素不够容纳内容时的显示方式。 属性 样式 auto 自动添加滚动条 hidden 隐藏超出的内容 scroll
2020-07-04 23:42:03
140
原创 CSS盒模型
###何为盒模型 所有的html元素都可以看作为一个盒子 盒模型的构成 内边距 padding html元素内容和边框之间的区域 属性: padding-top(上内边距) padding-right(右内边距) padding-bottom(下内边距) padding-left(左内边距) padding(简写) 注意顺序:上 右 下 左 边框 border 围绕元素内容和内边距的一条边线 边框样式 boader-style 边框宽度 boader-width 边框颜色 border-color 可以
2020-07-04 21:50:19
161
原创 css常用属性
字体 font-family 只有本地支持改字体,才能显示出来。 字体尺寸 font-size 字体样式 font-sytle 属性值 样式 normal 标准 italic 倾斜 字体粗细 font-weight 属性值 样式 normal 正常(400) bold 粗体(700) bolder 更粗 lighter 更细 也可以设置一个具体的数值 100、200、300、400、500、600、700、800、900 简写 font
2020-07-04 11:47:20
157
原创 css选择器
CSS简介 css引入 内联样式 <body> <h1 style="color: red">css</h1> </body> 内部样式 <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="
2020-07-03 11:28:42
159
原创 html常用标签
标题 <h1>~<h6> <body> <div>iphone</div> <h1>iphone</h1> <h2>iphone</h2> <h3>iphone</h3> <h4>iphone</h4> <h5>iphone</h5> <h6>iphone<
2020-06-29 21:24:41
137
原创 [l论文笔记]Energy and Performance Efficient Computation Offloading for Deep Neural Networks in a Mobile
Energy and Performance Efficient Computation Offloading for Deep Neural Networks in a Mobile Cloud Computing Environment contribution providing a framework to query DNNs efficiently on mobile devices collaborat- ing with cloud server in the presence of bat
2020-06-20 15:57:14
298
原创 【论文笔记】Edge-Host Partitioning of Deep Neural Networks with Feature Space Encoding for Resource-Constr
Edge-Host Partitioning of Deep Neural Networks with Feature Space Encoding for Resource-Constrained Internet-of-Things Platforms It propose an edge-host partitioning method, which combines model partition with lossy feature encoding. That is, the intermedi
2020-06-19 21:08:04
311
1
原创 [论文笔记]Neurosurgeon: Collaborative Intelligence Between the Cloud and Mobile Edge
keypoints How feasible it is to execute large-scale intelligent workloads on today’s mobile platforms? At what point is the cost of transferring speech and image data over the wireless network too high to justify cloud processing? What role should the mob
2020-06-19 16:47:37
1156
原创 caffe安装
系统环境 Mac OS Catalina 10.15 安装步骤 1)General dependencies brew install -vd snappy leveldb gflags glog szip lmdb 问题: Error: The following directories are not writable by your user: /usr/local/share/zsh /usr/local/share/zsh/site-functions You should change th
2020-05-17 20:39:12
222
原创 第12章 类和内存动态分配复习题
1 a 没有为str,len制定默认值 b str指向s,可能存在二次释放的问题;len 应该为strlen(s) + 1 c 没有为str分配内存,应使用new char[strlen(s) + 1]来分配 2 析构函数里没有将指针成员释放 复制和赋值时,直接使用浅复制,导致内存二次释放 构造函数和析构函数中new和delete不对应。 3 默认构造函数、析构函数、拷贝(复制)构造函数、赋值函数...
2020-03-04 12:27:11
200
原创 第十一章 使用类复习题
Stonewt Stonewt::*(double n) { Stonewt temp; temp.stone = stone * a +pound * a / 14; temp.pounds = (pound * a) % 14; return temp; } 友元函数:①函数原型需要使用friend;②调用的对象一般是非类对象;③在运算符重载函数里,有两个参数,并且往往一...
2020-02-27 15:30:59
170
原创 选项排除
识别相似项的能力 相似选项是指两个选项针对同一事物或情况,但同时又有细节的不同之处。审题时如果发现两个相似选项,即可优先排除非相似选项。 识别极端选项的能力 指选项中含有绝对词,这样的选项通常也可优先排除。绝对词例如:no, none, nothing, never, always, only, must, all ...
2020-02-26 17:37:29
222
原创 数字替换及解释性替换
识别常见数字替换类型的能力 表示比例的数字替换 数字与句子替换 解释型替换 录音当中不会听到原词,通常被一句话所替换 常见形式 句子解释数字 25-31 January they’re put it at the end of the month. several there are plenty of others in the program. 句子解释单词 te...
2020-02-26 17:29:11
549
原创 第十章 对象和类复习题
就是拥有相等功能和相同的属性的对象的集合 2. 类是对象的抽象,通过将属性与方法封装在一个类中,且设置访问权限,对外只提供部分接口来实现封装与隐藏。 3. 类是对象的抽象,而对象是类的具体实例。 4. 函数成员对数据成员进行操作,数据成员就是类对象的属性 5. class account { private: string name; string id; doubl...
2020-02-24 16:10:46
210
原创 第十章对象和类编程题
#include <iostream> #include <string> using namespace std; class account { private: string name; string id; double deposit; public: account(); account(string n, str...
2020-02-24 16:10:25
239
原创 地图题
看清 题号顺序(提示路线) 标示词 指向标 听清 起点(now, here, let me see) 方位词(后跟答案) 方位词 = 位置词(静态)+ 方位词(动态) 位置词(静态) A、总体性描述 B、部分性描述 across/ opposite far-from(离得远) close to/ beside(靠近) between(两者中间) next to at the end...
2020-02-21 21:15:25
471
原创 Deep Learning With Edge Computing: A Review
Deep Learning With Edge Computing: A Review introduction the challenge of moving data from source to cloud latency scalability privacy accommodating the high resource requirements of deep learning on...
2020-02-21 16:17:22
1309
原创 租房场景词汇总结
房屋类别 英文 中文 flat/ apartment 公寓 hall of residence 学生宿舍 host family 寄宿家庭 sitting room 起居室 living room 起居室 playroom 儿童娱乐房间 laundry 洗衣房 位置朝向 中心 center、downtown 郊区 outskirts、su...
2020-02-21 12:16:53
483
原创 特殊词定位
专有名词 人名 Spoken to Jane Prince, head of ______ 地名 Irish axes were exported from Ireland to _____ and Egland. 首字母大写的词或词组 Subtitles were added to The Lights of New York because of its _____ 数字(不被替换...
2020-02-18 11:45:30
183
原创 地点预测
根据语法预测(常见接地点的介词) 常见接地点的介词 at, in, on I shall wait for you at the station. (较小的地方) He lives at 14 Hill Road。(门牌号码前) He lives in Shanghai. (较大的地方) LanZhou is on the HuangHe River. (在…上/旁) 上下文意思猜测 go...
2020-02-18 11:36:06
294
原创 Ryu安装
Ryu网址 apt更新 sudo apt-get upgdate 安装git sudo apt-get install git 这时候出现了一个问题 E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 3104 (unattended-upgr) - open (11: Resource te...
2020-02-16 20:03:05
530
原创 对比表格题
纵向看题 纵向信息答案格式一致 顺序词提示转行 -fisrt…sencond…third next/ also/ after that finally/ last 技巧 语气变化引出答案 语气突然上升,突然下降,可以重读 ...
2020-02-16 16:12:35
192
原创 Cambridge4 TEST3
1.exmplify = example = case = instance 例证 v. 2.explian = tell = say what/why/wherer = show = demonstrate = go through = throw/shed light on 解释 v. 3.purpose = aim = point = idea = objecutive = object ...
2020-02-16 14:52:40
237
原创 数字听写及预测
时间听写 10:30 ten thirty/ half past ten 10:45 ten forty five/a quarter to eleven 10:00 ten o’ clock at noon = mid-day = 12 o’clock 日期听写 Date: 28 June the twenty-eighth of June / June the twenty -eigh...
2020-02-15 16:05:08
518
原创 专有名词听力
基本能力 发音 易混淆的字母 A/E; O/L;M/N; G/J 连读 两个相同的字母可能会用到double, "double R"的连读 字母解释 Shannon——S-H-A(that’s A for apple) 人名听写 Wendy Harries H-A-double R- I-E-S 可能把double R 听成double L,即Hallies,发音不对 Sam...
2020-02-15 14:33:00
306
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅