典型的模版题,很多方法可以解决,没什么难点,直接放代码了 #include <iostream>#include <queue>using namespace std;int n, k;bool look[100001];struct node { int n, step; node(int x=0 ...
分类:
其他好文 时间:
2020-02-02 21:53:40
阅读次数:
72
RRT快速搜索随机树英文全称Rapid-exploration Random Tree,和PRM类似,也是一种路径规划算法。 和PRM类似,算法也需要随机撒点,不过不同的是,该算法不是全局随机撒点,而是一次撒一个点,然后判断当前搜索树与随机点距离,然后找到搜索树距离随机点最近的节点,向该随机点方向扩 ...
分类:
其他好文 时间:
2020-02-02 17:28:29
阅读次数:
249
转自:https://zeebe.io/blog/2019/12/zeebe-performance-profiling/ by Josh Wulf and Klaus Nji on Dec 22 2019 in BenchmarksPerformance. We frequently get qu ...
分类:
其他好文 时间:
2020-02-01 21:41:08
阅读次数:
82
```c++ #include #include using namespace cv; using namespace std; int main(int argc, char** argv) { Mat src = imread("f:/images/butterfly.jpg"); if (s... ...
分类:
其他好文 时间:
2020-01-31 21:16:41
阅读次数:
83
# yum install ntp -y 更新时间 # date Fri Mar 12 16:36:41 CST 2010 # ntpdate 2.cn.pool.ntp.org 12 Mar 08:38:19 ntpdate[24011]: step time server 114.80.81.1 ...
分类:
系统相关 时间:
2020-01-31 21:02:20
阅读次数:
107
节选自:grub安装失败 折腾三系统时遇到无法grub进入系统,我的解决方案如下: step1:进windows删除一个不咋用的系统分区 step2:刻录一个linux系统例如ubuntu step3:boot进U盘里的系统并安装在空闲分区 step4:安装完成后重启后,应该是新系统的grub引导界 ...
分类:
其他好文 时间:
2020-01-31 20:48:43
阅读次数:
115
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf #tensorboard --logdir="./" # 命令行参数 python x.py --max_step=500 tf.app.flags. ...
分类:
其他好文 时间:
2020-01-31 20:35:23
阅读次数:
169
On the "steerability" of generative adversarial networks Intro 本文提出对GAN的latent space进行操作的一种方法,通过对latent space的编辑实现生成域外样本,操控生成样本的基本属性,如控制生成样本的位置、光照、二维旋 ...
分类:
Web程序 时间:
2020-01-31 00:59:25
阅读次数:
141
在tf.keras中,metrics其实就是起到了一个测量表的作用,即测量损失或者模型精度的变化。metrics的使用分为以下四步: step1:Build a meter acc_meter = metrics.Accuracy() loss_meter = metrics.Mean() step ...
#include<iostream> #include<cstdlib> #include<ctime> using namespace std; int main() { int n,sum=0,win=0,die=0,step=0,m1=10,m2=0,i,j,k,x,y,h=-1; doubl ...
分类:
其他好文 时间:
2020-01-30 19:13:42
阅读次数:
89