1 - Task Implement the triplet loss function Use a pretrained model to map face images into 128-dimensional encodings Use these encodings to perform f ...
分类:
移动开发 时间:
2018-08-20 22:55:50
阅读次数:
947
```
#!/usr/bin/python2.7
#coding:utf-8 from __future__ import print_function
import tensorflow as tf # Import MNIST data
from tensorflow.examples.tuto... ...
分类:
其他好文 时间:
2018-08-20 20:13:20
阅读次数:
206
tf.add_to_collection(name, value) 此函数将元素添加到列表中 参数: name:列表名。如果不存在,创建一个新的列表 value:元素 tf.get_collection(name) 此函数获取列表 参数: name:列表名 tf.add_n(inputs) 此函数将 ...
分类:
其他好文 时间:
2018-08-17 12:11:20
阅读次数:
2126
首先给出结论:损失函数和代价函数是同一个东西,目标函数是一个与他们相关但更广的概念,对于目标函数来说在有约束条件下的最小化就是损失函数(loss function) 举个例子解释一下:(图片来自Andrew Ng Machine Learning公开课视频) 上面三个图的函数依次为 , , 。我们是 ...
分类:
其他好文 时间:
2018-08-17 11:16:13
阅读次数:
177
https://leetcode.com/problems/the-skyline-problem/description/ A city's skyline is the outer contour of the silhouette formed by all the buildings in ...
分类:
其他好文 时间:
2018-08-15 01:24:42
阅读次数:
233
【分类指标】 1.accuracy_score(y_true,y_pre) : 精度 2.auc(x, y, reorder=False) : ROC曲线下的面积;较大的AUC代表了较好的performance。 3.average_precision_score(y_true, y_score, ...
分类:
其他好文 时间:
2018-08-12 20:14:33
阅读次数:
339
1. 根据物理结构上的区别,Nand Flash主要分为: SLC(Single Level Cell): 单层式存储 MLC(Multi Level Cell): 多层式存储 TLC(Triple Level Cell): 三层式存储 注:SLC在存储格上只存一位数据(2个状态),MLC存放两位数 ...
分类:
其他好文 时间:
2018-08-08 13:41:08
阅读次数:
195
from:http://www.cnblogs.com/kemaswill/archive/2013/04/01/2993583.html 在时间序列中,我们需要基于该时间序列当前已有的数据来预测其在之后的走势,三次指数平滑(Triple/Three Order Exponential Smooth ...
分类:
编程语言 时间:
2018-08-08 13:38:25
阅读次数:
226
来源poj1797 Background Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tel ...
分类:
其他好文 时间:
2018-08-08 12:05:41
阅读次数:
201
ping:Ping是Windows、Unix和Linux系统下的一个命令。ping也属于一个通信协议,是TCP/IP协议的一部分。利用“ping”命令可以检查网络是否连通,可以很好地帮助我们分析和判定网络故障。应用格式:Ping空格IP地址。该命令还可以加许多参数使用,具体是键入Ping按回车即可看 ...
分类:
Web程序 时间:
2018-08-07 23:56:28
阅读次数:
247