在文件yolo_v2_class.hpp中声明。 extern "C" LIB_API int init(const char *configurationFilename, const char *weightsFilename, int gpu); extern "C" LIB_API int ...
分类:
其他好文 时间:
2020-04-18 21:18:09
阅读次数:
117
webbench的标准测试可以向我们展示服务器的两项内容:每秒钟响应请求数和每秒钟传输数据量。 webbench不但能具有便准静态页面的测试能力,还能对动态页面(ASP,PHP,JAVA,CGI)进 行测试的能力。 他支持对含有SSL的安全网站例如电子商务网站进行静态或动态的性能测试。 Webben ...
分类:
Web程序 时间:
2020-04-18 18:50:58
阅读次数:
101
CS架构&BS架构 ~~~python 互联通信软件有两种模式:CS架构和BS架构 CS指的是Client Server,分别有一个客户端软件和一个服务端软件 BS指的是Browser Server,一个浏览器和一个服务端软件 客户端软件send 服务端软件recv 操作系统 操作系统 计算机硬件 ...
分类:
其他好文 时间:
2020-04-18 12:11:03
阅读次数:
68
ajax发送post请求和发送get请求的一些区别: 当ajax使用post提交请求时,设置中文乱码的情况需要额外处理 同时post请求的参数在请求体里,所以参数应该写在send里,而get的参数直接写在url里,所以send里是空的 https://blog.csdn.net/qq_3849908 ...
分类:
Web程序 时间:
2020-04-18 11:56:11
阅读次数:
69
一、定制第三方依赖注入容器Autofac 1、nuget引入autofac和 Autofac.Extensions.DependencyInjection 2、注释掉原来的IServiceCollection,ConfigureServices需要返回值IServiceProvider 3、new ...
分类:
Web程序 时间:
2020-04-18 10:15:16
阅读次数:
109
RESET is a flag in TCP packets to indicate that the conection is not longer working. So, if any of the two participants in a TCP connection send a pac ...
分类:
其他好文 时间:
2020-04-18 09:16:18
阅读次数:
74
unit Unit2; interface uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls; type TForm1 = class(TForm) Bu ...
#上传文件使用send_keys方法添加本地文件 <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>upload_file</title> <script type="t ...
分类:
编程语言 时间:
2020-04-17 12:47:06
阅读次数:
86
#!/usr/bin/env python from selenium import webdriver from selenium.webdriver.common.action_chains import ActionChains import time class driver_class(o ...
分类:
编程语言 时间:
2020-04-16 22:39:48
阅读次数:
66
缘由 之前写socket的CS模型代码,都是利用最原始的多线程方式。服务端是主线程,接到客户端的连接请求就从线程池中获取一个线程去处理整个socket连接的所有操作,虽然在连接数较短的情况下没有什么影响,但是当连接数很大的情况下,线程的切换和线程池的大小问题就明显起来了。 问题 应该存在一种方式可以 ...
分类:
其他好文 时间:
2020-04-16 19:46:40
阅读次数:
79