如何用js/jquery获取上传的多个文件得名

如何用js/jquery获取上传的多个文件得名 在文本框中显示这些上传文件的名

2个回答

用jQuery中Ajax。
获取文件名:
DiskFileItemFactory factory = new DiskFileItemFactory();
// 设置上传时生成的临时文件的保存目录
factory.setRepository(tmpFile);
// 创建一个文件上传解析器
ServletFileUpload upload = new ServletFileUpload(factory);
upload.setHeaderEncoding("UTF-8");
List list = upload.parseRequest(request);
for (FileItem item : list) {
String filename = item.getName();
filename = filename
.substring(filename.lastIndexOf("\") + 1);
// 得到上传文件的扩展名
String fileExtName = filename.substring(filename
.lastIndexOf(".") + 1);
}

h5 file multiple多选还是多个file控件什么的?h5的有files属性,遍历下就行(只能得到文件名,得不到路径)

 for(var i=0;i<fileID.files.length;i++)
alert(fileID.files[i].value)
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
jQuery File Upload上传多个文件,后台Java怎么拿?

jQuery File Upload上传多个文件,后台Java怎么拿?

从Javascript / Jquery文件启动PHP Netbeans XDEBUG

<div class="post-text" itemprop="text"> <p>I am using NetBeans 8.1 with XDEBUG to debug PHP code on my local WAMP server and it works fine. In addition I use on the client side JavaScript/Jquery code that has AJAX request to the PHP file and transfers to the PHP file several parameters.</p> <p>I could not find a way how to start automatically Netbeans PHP debug session after the AJAX request sends parameters to the PHP file. I do not mind adding code to the JavaScript/Jquery code to make it happen.</p> <p>Your help in this matter is highly appreciated. I tried various things and it did not work. </p> </div>

为什么我在用Ajax 和jquery方式实现登录名验证时,只有jquery-1.8.2.js管用

<script type="text/javascript" src="<%=path%>/js/jquery-1.8.2.js"></script> 可以 <script type="text/javascript" src="<%=path%>/js/jquery-1.8.3.js"></script> 不可以 <script type="text/javascript" src="<%=path%>/js/jquery-1.9.1.js"></script> 不可以 <script type="text/javascript" src="<%=path%>/js/jquery-1.11.1.js"></script> 不可以

在Wordpress中包含jquery UI

<div class="post-text" itemprop="text"> <p>I have tried to get jquery-ui working with wordpress with no luck. Can someone point me in the right direction? I've dug up a ton of SO resources and blogs explaining it, but so far can't get this working. However when I include the scripts directly in the page itself I can get the datepicker to function properly. I'm trying to make the table rows draggable (and eventually droppable).</p> <p>Here is what I currently have-</p> <p>In /themes/twentysixteen/functions.php</p> <p>I followed the steps here and enqueued jquery-ui functions <a href="http://xl-websites.com/how-to-enqueue-jquery-or-jquery-ui-correctly-in-wordpress/" rel="nofollow noreferrer">Correctly enqueue jquery-ui</a>. I then added a couple of my own scripts based on the information here <a href="https://premium.wpmudev.org/blog/adding-jquery-scripts-wordpress/?nhtz=b&amp;utm_expid=3606929-91.15T0nlf8TFCqo1W_BlZjGg.1&amp;utm_referrer=https%3A%2F%2Fwww.google.com%2F" rel="nofollow noreferrer">Add jquery scripts</a></p> <p></p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>/* Used to include jquery-ui scripts * Taken from http://xl-websites.com/how-to-enqueue-jquery-or-jquery-ui-correctly-in-wordpress/ * */ function add_jquery_ui() { wp_enqueue_script('jquery-ui-core'); wp_enqueue_script('jquery-ui-widget'); wp_enqueue_script('jquery-ui-mouse'); wp_enqueue_script('jquery-ui-accordion'); wp_enqueue_script('jquery-ui-autocomplete'); wp_enqueue_script('jquery-ui-slider'); wp_enqueue_script('jquery-ui-tabs'); wp_enqueue_script('jquery-ui-sortable'); wp_enqueue_script('jquery-ui-draggable'); wp_enqueue_script('jquery-ui-droppable'); wp_enqueue_script('jquery-ui-datepicker'); wp_enqueue_script('jquery-ui-resize'); wp_enqueue_script('jquery-ui-dialog'); wp_enqueue_script('jquery-ui-button'); } add_action( 'wp_enqueue_scripts', 'add_jquery_ui' ); function custom_js() { wp_enqueue_script('date', get_template_directory_uri() . '/js/date.js', array('jquery'), false, true); wp_enqueue_script('drag', get_template_directory_uri() . '/js/drag.js', array('jquery'), false, true); } add_action('wp_enqueue_scripts', 'custom_js');</code></pre> </div> </div> <p>With those addded, I created the scripts in my js folder-</p> <p>/js/drag.js</p> <p></p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>(function() { $(".drag").draggable({ helper: function(event) { return $('&lt;div class="drag-row"&gt;&lt;table&gt;&lt;/table&gt;&lt;/div&gt;').find('table').append($(event.target).closest('tr').clone()).end(); }, }); });</code></pre> </div> </div> <p>And /js/date.js</p> <p></p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>( function() { $( "#datepicker" ).datepicker(); });</code></pre> </div> </div> <p>In my php page I added the date id to a calendar, and a class id to the table row as targets for the jquery scripts.</p> <p></p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;p&gt;Date: &lt;input type="text" id="datepicker"&gt;&lt;/p&gt; echo "&lt;div id='table'&gt;"; echo "&lt;table class='listing'&gt;"; echo "&lt;thead&gt;"; echo "&lt;tr&gt;"; echo "&lt;th&gt;&lt;b&gt;Course Name&lt;/b&gt;&lt;/th&gt;"; echo "&lt;th&gt;&lt;b&gt;Fiscal Year&lt;/b&gt;&lt;/th&gt;"; echo "&lt;th&gt;&lt;b&gt;Course Number&lt;/b&gt;&lt;/th&gt;"; echo "&lt;th&gt;&lt;b&gt;Start Date&lt;/b&gt;&lt;/th&gt;"; echo "&lt;th&gt;&lt;b&gt;End Date&lt;/b&gt;&lt;/th&gt;"; echo "&lt;/tr&gt;"; echo "&lt;/thead&gt;"; echo "&lt;tbody&gt;"; foreach($courses as $course){ echo "&lt;tr class='drag'&gt;"; echo "&lt;td&gt;".$course-&gt;course_name."&lt;/td&gt;"; echo "&lt;td&gt;".$course-&gt;fy."&lt;/td&gt;"; echo "&lt;td&gt;".$course-&gt;course_number."&lt;/td&gt;"; $date = $course-&gt;course_date_start; $date = strtotime($date); if ($date){ echo "&lt;td&gt;".date("m/d/Y", $date)."&lt;/td&gt;"; } else { echo "&lt;td&gt;&lt;/td&gt;"; } $date = $course-&gt;course_date_end; $date = strtotime($date); if ($date){ echo "&lt;td&gt;".date("m/d/Y", $date)."&lt;/td&gt;"; } else { echo "&lt;td&gt;&lt;/td&gt;"; } echo "&lt;/tr&gt;"; } echo "&lt;/tbody&gt;"; echo "&lt;/table&gt;";</code></pre> </div> </div> <p>When my page loads, the scripts are all there (including jquery, I put spaces since the jquery lines are at line 350, and the jquery-ui lines are at line 500), but the ui isn't functional. Anyone have any insights?</p> <p></p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script type='text/javascript' src='##/wp-includes/js/jquery/jquery.js?ver=1.12.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-content/themes/twentysixteen/js/functions.js?ver=20160816'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/core.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/widget.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/mouse.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/accordion.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/position.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/menu.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/wp-a11y.min.js?ver=4.6.1'&gt;&lt;/script&gt; &lt;script type='text/javascript'&gt; /* &lt;![CDATA[ */ var uiAutocompleteL10n = {"noResults":"No search results.","oneResult":"1 result found. Use up and down arrow keys to navigate.","manyResults":"%d results found. Use up and down arrow keys to navigate."}; /* ]]&gt; */ &lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/autocomplete.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/slider.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/tabs.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/sortable.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/draggable.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/droppable.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/datepicker.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript'&gt; jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"MM d, yy","firstDay":1,"isRTL":false});}); &lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/resizable.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/button.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/jquery/ui/dialog.min.js?ver=1.11.4'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-content/themes/twentysixteen/js/date.js?ver=4.6.1'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-content/themes/twentysixteen/js/drag.js?ver=4.6.1'&gt;&lt;/script&gt; &lt;script type='text/javascript' src='##/wp-includes/js/wp-embed.min.js?ver=4.6.1'&gt;&lt;/script&gt;</code></pre> </div> </div> </div>

<script type="text/javascript" charset="utf-8" src="${ctx}/resources/js/jquery.reveal.js?v=1.0.1"></script>这个?v=1.0.1是什么意思?

<script type="text/javascript" charset="utf-8" src="${ctx}/resources/js/jquery.reveal.js?v=1.0.1"></script>这个?v=1.0.1是什么意思? 在这种格式里面v=1.0.1应该怎么加? <script type="text/javascript" th:src="@{/H-ui.admin/lib/jquery.reveal.js}"></script>

如何用JavaScript或jQuery获取多个input且同一id的value值

``` <span id="bar"></span> <input id="end_time" type="hidden" value="1483027200"> <span id="bar"></span> <input id="end_time" type="hidden" value="1468944000"> <span id="bar"></span> <input id="end_time" type="hidden" value="1466524800"> ``` 上面的HTML代码是循环输出的,只是每个value的值不同, 我是想获取当前的时间戳,再分别与每个value值的时间戳相减, 得到结果输出到对应span标签。 请问JavaScript或jQuery的代码要怎么写?或HTML代码要怎样修改?

使用 javascript / jquery 滚动到页面顶部?

<div class="post-text" itemprop="text"> <p>I've a <code>&lt;button&gt;</code> on the page, when this button is pressed a hidden <code>&lt;div&gt;</code> is shown using jQuery.</p> <p>How do I scroll to the top of the page using a JavaScript/jQuery command in that function? It is desirable even if the scroll bar instantly jumps to the top. I'm not looking for a smooth scrolling.</p> </div> <p>转载于:https://stackoverflow.com/questions/1144805/scroll-to-the-top-of-the-page-using-javascript-jquery</p>

js/jquery校验图片格式,宽高,大小

js/jquery校验上传图片后缀为gif|png|jpeg|jpg格式的图片,尺寸为512*512 校验,大小限制为300k的文件

jQuery - 使用输入多个循环发布单个文件

<div class="post-text" itemprop="text"> <p>I need to post with jQuery files from a multiform form. The problem is I don't know how to send each file individually with a foreach loop, so I can get upload success from each file separately.</p> <p>Here's my function to send each file to PHP:</p> <pre><code> var fileInput = document.getElementById ("images_upload_new_album"); if ('files' in fileInput) { //console.log(fileInput.files); $.each(fileInput.files, function(index, val) { /* iterate through array or object */ console.log(fileInput.files[index]); $.ajax({ url: config.site + "admin/photos/upload_test", type: 'POST', data: {file: fileInput.files[index].name}, dataType: 'json', mimeType:"multipart/form-data", contentType: false, cache: false, processData:false, beforeSend: function (data) { console.log("Before send."); //console.log(data); }, // AJAX request is about to be sent complete: function (data) { console.log("Complete."); //console.log(data); }, // AJAX request has completed success: function(data, textStatus, jqXHR) // AJAX request has completed successfully { console.log("success."); console.log(data); }, error: function(jqXHR, textStatus, errorThrown) // AJAX request has completed with errors { console.log("error."); } }); }); }; </code></pre> <p>And my PHP test function.</p> <pre><code>public function upload_test() { $received = $_FILES; echo json_encode($received); } </code></pre> <p>What I get from console:</p> <pre><code>File {webkitRelativePath: "", lastModified: 1418160606000, lastModifiedDate: Tue Dec 09 2014 20:30:06 GMT-0100 (Hora padrão dos Açores), name: "100371.jpg", type: "image/jpeg"…} Before send. Modal it's opened success. [] Complete. </code></pre> <p>This is my multiform:</p> <pre><code>&lt;form action="http://xxxxxxx.dev/admin/photos/upload" id="upload_form" enctype="multipart/form-data" method="post" accept-charset="utf-8"&gt; &lt;input type="file" name="images_upload_new_album[]" value="" id="images_upload_new_album" class="hidden_images_upload" style="visibility: hidden; width: 0px; height: 0px" multiple="multiple" accept=".jpg" /&gt; &lt;/form&gt; </code></pre> </div>

Javascript / jquery 通过 POST 和 JSON 数据下载文件

<div class="post-text" itemprop="text"> <p>I have a jquery-based single-page webapp. It communicates with a RESTful web service via AJAX calls. </p> <p>I'm trying to accomplish the following:</p> <ol> <li>Submit a POST that contains JSON data to a REST url.</li> <li>If the request specifies a JSON response, then JSON is returned.</li> <li>If the request specifies a PDF/XLS/etc response, then a downloadable binary is returned.</li> </ol> <p>I have 1 &amp; 2 working now, and the client jquery app displays the returned data in the web page by creating DOM elements based on the JSON data. I also have #3 working from the web-service point of view, meaning it will create and return a binary file if given the correct JSON parameters. But I'm unsure the best way to deal with #3 in the client javascript code.</p> <p>Is it possible to get a downloadable file back from an ajax call like this? How do I get the browser to download and save the file?</p> <pre><code>$.ajax({ type: "POST", url: "/services/test", contentType: "application/json", data: JSON.stringify({category: 42, sort: 3, type: "pdf"}), dataType: "json", success: function(json, status){ if (status != "success") { log("Error loading data"); return; } log("Data loaded!"); }, error: function(result, status, err) { log("Error loading data"); return; } }); </code></pre> <p>The server responds with the following headers:</p> <pre><code>Content-Disposition:attachment; filename=export-1282022272283.pdf Content-Length:5120 Content-Type:application/pdf Server:Jetty(6.1.11) </code></pre> <p>Another idea is to generate the PDF and store it on the server and return JSON that includes a URL to the file. Then, issue another call in the ajax success handler to do something like the following:</p> <pre><code>success: function(json,status) { window.location.href = json.url; } </code></pre> <p>But doing that means I would need to make more than one call to the server, and my server would need to build downloadable files, store them somewhere, then periodically clean up that storage area.</p> <p>There must be a simpler way to accomplish this. Ideas?</p> <hr> <p>EDIT: After reviewing the docs for $.ajax, I see that the response dataType can only be one of <code>xml, html, script, json, jsonp, text</code>, so I'm guessing there is no way to directly download a file using an ajax request, unless I embed the binary file in using Data URI scheme as suggested in the @VinayC answer (which is not something I want to do).</p> <p>So I guess my options are:</p> <ol> <li><p>Not use ajax and instead submit a form post and embed my JSON data into the form values. Would probably need to mess with hidden iframes and such.</p></li> <li><p>Not use ajax and instead convert my JSON data into a query string to build a standard GET request and set window.location.href to this URL. May need to use event.preventDefault() in my click handler to keep browser from changing from the application URL.</p></li> <li><p>Use my other idea above, but enhanced with suggestions from the @naikus answer. Submit AJAX request with some parameter that lets web-service know this is being called via an ajax call. If the web service is called from an ajax call, simply return JSON with a URL to the generated resource. If the resource is called directly, then return the actual binary file.</p></li> </ol> <p>The more I think about it, the more I like the last option. This way I can get information back about the request (time to generate, size of file, error messages, etc.) and I can act on that information before starting the download. The downside is extra file management on the server.</p> <p>Any other ways to accomplish this? Any pros/cons to these methods I should be aware of?</p> </div> <p>转载于:https://stackoverflow.com/questions/3499597/javascript-jquery-to-download-file-via-post-with-json-data</p>

使用jquery文件上传保持文件顺序

<div class="post-text" itemprop="text"> <p>I was looking at the upload script here:</p> <p><a href="http://demo.tutorialzine.com/2013/05/mini-ajax-file-upload-form/" rel="nofollow">http://demo.tutorialzine.com/2013/05/mini-ajax-file-upload-form/</a></p> <p>It is using jquery file upload to upload multiple files at once. I would like to know how to pass the order of the files that were selected to the upload.php script. ie. if you have 1.jpg, 2.jpg, 3.jpg, 4.jpg, and 4 finishes uploading first, can upload.php receive a variable that tells it that it is the 4th image that was selected? Does jquery file upload have a way of adding the order to the form action perhaps?</p> <p>Thanks in advance.</p> </div>

jQuery:如何获取文件上传输入字段的“值”

<div class="post-text" itemprop="text"> <p>Is it possible to determine if the user has selected a file for a particular input type="file" field using javascript/jQuery?</p> <p>I have developed a custom fieldtype for ExpressionEngine (PHP-based CMS) that lets users upload and store their files on Amazon S3, but the most popular EE hosting service has set a max_file_uploads limit of 20. I'd like to allow the user to upload 20 files, edit the entry again to add 20 more, etc. Unfortunately upon editing the entry the initial 20 files have a "replace this image" file input field that appears to be knocking out the possibility of uploading new images. I'd like to remove any unused file input fields via javascript when the form is submitted.</p> </div>

script src="/i/jquery.js?aaa 里面的aaa是什么意思

引入js脚本的时候 遇到了下面的写法 aaa到底什么意思呢求解答 script src="/i/jquery.js?aaa 里面的aaa是什么意思

springmvc+hibernate+spring js无法引入

代码如下:问题是:工程里的js无法引入! js 目录:全类名:/SpringMVC/WebContent/resources <title>后台首页</title> <link rel="stylesheet" type="text/css" href="./resources/easyui/themes/default/easyui.css" /> <link rel="stylesheet" type="text/css" href="./resources/easyui/themes2/icon.css" /> <script type="text/javascript" src="./resources/easyui/jquery.min.js"></script> <script type="text/javascript" src="./resources/easyui/jquery.easyui.min.js"></script> <script type="text/javascript" src="./resources/easyui/locale/easyui-lang-zh_CN.js"></script> </head> <body class="easyui-layout"> <%=basePath%> <div data-options="region:'north',href:'north.jsp'" style="height: 30px;overflow: hidden;"></div> <div data-options="region:'west',title:'导航菜单',href:'menu.jsp'" style="width: 200px;overflow: hidden;"></div> <div data-options="region:'center',title:'欢迎平台',href:'view/frame/center.jsp'" style="overflow: hidden;" ></div> </body> 页面报错: "NetworkError: 404 Not Found - http://localhost:8080/SpringMVC/resources/easyui/jquery.easyui.min.js" jquery.....min.js "NetworkError: 404 Not Found - http://localhost:8080/SpringMVC/resources/easyui/locale/easyui-lang-zh_CN.js" easyui-...h_CN.js "NetworkError: 404 Not Found - http://localhost:8080/SpringMVC/resources/easyui/themes2/icon.css" icon.css "NetworkError: 404 Not Found - http://localhost:8080/SpringMVC/resources/easyui/jquery.min.js" jquery.min.js "NetworkError: 404 Not Found - http://localhost:8080/SpringMVC/resources/easyui/themes/default/easyui.css" easyui.css "NetworkError: 404 Not Found - http://localhost:8080/SpringMVC/resources/easyui/jquery.easyui.min.js" jquery.....min.js "NetworkError: 404 Not Found - http://localhost:8080/SpringMVC/resources/easyui/locale/easyui-lang-zh_CN.js"

C/C++学习指南全套教程

C/C++学习的全套教程,从基本语法,基本原理,到界面开发、网络开发、Linux开发、安全算法,应用尽用。由毕业于清华大学的业内人士执课,为C/C++编程爱好者的教程。

定量遥感中文版 梁顺林著 范闻捷译

这是梁顺林的定量遥感的中文版,由范闻捷等翻译的,是电子版PDF,解决了大家看英文费时费事的问题,希望大家下载看看,一定会有帮助的

YOLOv3目标检测实战:训练自己的数据集

YOLOv3是一种基于深度学习的端到端实时目标检测方法,以速度快见长。本课程将手把手地教大家使用labelImg标注和使用YOLOv3训练自己的数据集。课程分为三个小项目:足球目标检测(单目标检测)、梅西目标检测(单目标检测)、足球和梅西同时目标检测(两目标检测)。 本课程的YOLOv3使用Darknet,在Ubuntu系统上做项目演示。包括:安装Darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 Darknet是使用C语言实现的轻型开源深度学习框架,依赖少,可移植性好,值得深入探究。 除本课程《YOLOv3目标检测实战:训练自己的数据集》外,本人推出了有关YOLOv3目标检测的系列课程,请持续关注该系列的其它课程视频,包括: 《YOLOv3目标检测实战:交通标志识别》 《YOLOv3目标检测:原理与源码解析》 《YOLOv3目标检测:网络模型改进方法》 敬请关注并选择学习!

sql语句 异常 Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your

在我们开发的工程中,有时候会报 [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ------ 这种异常 不用多想,肯定是我们的sql语句出现问题,下面...

浪潮集团 往年的软件类 笔试题 比较详细的哦

浪潮集团 往年的软件类 笔试题 比较详细的哦

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

I2c串口通信实现加速度传感器和FPGA的交流

此代码能实现加速度传感器与FPGA之间的交流,从而测出运动物体的加速度。

Python可以这样学(第一季:Python内功修炼)

董付国系列教材《Python程序设计基础》、《Python程序设计(第2版)》、《Python可以这样学》配套视频,讲解Python 3.5.x和3.6.x语法、内置对象用法、选择与循环以及函数设计与使用、lambda表达式用法、字符串与正则表达式应用、面向对象编程、文本文件与二进制文件操作、目录操作与系统运维、异常处理结构。

微信公众平台开发入门

本套课程的设计完全是为初学者量身打造,课程内容由浅入深,课程讲解通俗易懂,代码实现简洁清晰。通过本课程的学习,学员能够入门微信公众平台开发,能够胜任企业级的订阅号、服务号、企业号的应用开发工作。 通过本课程的学习,学员能够对微信公众平台有一个清晰的、系统性的认识。例如,公众号是什么,它有什么特点,它能做什么,怎么开发公众号。 其次,通过本课程的学习,学员能够掌握微信公众平台开发的方法、技术和应用实现。例如,开发者文档怎么看,开发环境怎么搭建,基本的消息交互如何实现,常用的方法技巧有哪些,真实应用怎么开发。

机器学习初学者必会的案例精讲

通过六个实际的编码项目,带领同学入门人工智能。这些项目涉及机器学习(回归,分类,聚类),深度学习(神经网络),底层数学算法,Weka数据挖掘,利用Git开源项目实战等。

eclipseme 1.7.9

eclipse 出了新的eclipseme插件,官方有下载,但特慢,我都下了大半天(可能自己网速差)。有急需要的朋友可以下哦。。。

Spring Boot -01- 快速入门篇(图文教程)

Spring Boot -01- 快速入门篇 今天开始不断整理 Spring Boot 2.0 版本学习笔记,大家可以在博客看到我的笔记,然后大家想看视频课程也可以到【慕课网】手机 app,去找【Spring Boot 2.0 深度实践】的课程,令人开心的是,课程完全免费! 什么是 Spring Boot? Spring Boot 是由 Pivotal 团队提供的全新框架。Spring Boot...

HoloLens2开发入门教程

本课程为HoloLens2开发入门教程,讲解部署开发环境,安装VS2019,Unity版本,Windows SDK,创建Unity项目,讲解如何使用MRTK,编辑器模拟手势交互,打包VS工程并编译部署应用到HoloLens上等。

最简单的倍频verilog程序(Quartus II)

一个工程文件 几段简单的代码 一个输入一个输出(50Mhz倍频到100Mhz)

计算机组成原理实验教程

西北工业大学计算机组成原理实验课唐都仪器实验帮助,同实验指导书。分为运算器,存储器,控制器,模型计算机,输入输出系统5个章节

4小时玩转微信小程序——基础入门与微信支付实战

这是一个门针对零基础学员学习微信小程序开发的视频教学课程。课程采用腾讯官方文档作为教程的唯一技术资料来源。杜绝网络上质量良莠不齐的资料给学员学习带来的障碍。 视频课程按照开发工具的下载、安装、使用、程序结构、视图层、逻辑层、微信小程序等几个部分组织课程,详细讲解整个小程序的开发过程

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

基于RSA通信密钥分发的加密通信

基于RSA通信密钥分发的加密通信,采用pycrypto中的RSA、AES模块实现

不同变质程度煤尘爆炸残留气体特征研究

为分析不同变质程度煤尘爆炸残留气体成分的特征规律,利用水平管道煤尘爆炸实验装置进行了贫瘦煤、肥煤、气煤、长焰煤4种不同变质程度的煤尘爆炸实验,研究了不同变质程度煤尘爆炸后气体残留物含量的差异,并对气体

设计模式(JAVA语言实现)--20种设计模式附带源码

课程亮点: 课程培训详细的笔记以及实例代码,让学员开始掌握设计模式知识点 课程内容: 工厂模式、桥接模式、组合模式、装饰器模式、外观模式、享元模式、原型模型、代理模式、单例模式、适配器模式 策略模式、模板方法模式、观察者模式、迭代器模式、责任链模式、命令模式、备忘录模式、状态模式、访问者模式 课程特色: 笔记设计模式,用笔记串连所有知识点,让学员从一点一滴积累,学习过程无压力 笔记标题采用关键字标识法,帮助学员更加容易记住知识点 笔记以超链接形式让知识点关联起来,形式知识体系 采用先概念后实例再应用方式,知识点深入浅出 提供授课内容笔记作为课后复习以及工作备查工具 部分图表(电脑PC端查看):

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

几率大的Redis面试题(含答案)

本文的面试题如下: Redis 持久化机制 缓存雪崩、缓存穿透、缓存预热、缓存更新、缓存降级等问题 热点数据和冷数据是什么 Memcache与Redis的区别都有哪些? 单线程的redis为什么这么快 redis的数据类型,以及每种数据类型的使用场景,Redis 内部结构 redis的过期策略以及内存淘汰机制【~】 Redis 为什么是单线程的,优点 如何解决redis的并发竞争key问题 Red...

手把手实现Java图书管理系统(附源码)

【超实用课程内容】 本课程演示的是一套基于Java的SSM框架实现的图书管理系统,主要针对计算机相关专业的正在做毕设的学生与需要项目实战练习的java人群。详细介绍了图书管理系统的实现,包括:环境搭建、系统业务、技术实现、项目运行、功能演示、系统扩展等,以通俗易懂的方式,手把手的带你从零开始运行本套图书管理系统,该项目附带全部源码可作为毕设使用。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27513 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程2年有效观看时长,大家可以抓紧时间学习后一起讨论哦~ 【学员专享增值服务】 源码开放 课件、课程案例代码完全开放给你,你可以根据所学知识,自行修改、优化

jsp+servlet入门项目实例

jsp+servlet实现班级信息管理项目

winfrom中嵌套html,跟html的交互

winfrom中嵌套html,跟html的交互,源码就在里面一看就懂,很简单

Java面试题大全(2020版)

发现网上很多Java面试题都没有答案,所以花了很长时间搜集整理出来了这套Java面试题大全,希望对大家有帮助哈~ 本套Java面试题大全,全的不能再全,哈哈~ 一、Java 基础 1. JDK 和 JRE 有什么区别? JDK:Java Development Kit 的简称,java 开发工具包,提供了 java 的开发环境和运行环境。 JRE:Java Runtime Environ...

python实现数字水印添加与提取及鲁棒性测试(GUI,基于DCT,含测试图片)

由python写的GUI,可以实现数字水印的添加与提取,提取是根据添加系数的相关性,实现了盲提取。含有两种攻击测试方法(高斯低通滤波、高斯白噪声)。基于python2.7,watermark.py为主

Xshell6完美破解版,亲测可用

Xshell6破解版,亲测可用,分享给大家。直接解压即可使用

你连存活到JDK8中著名的Bug都不知道,我怎么敢给你加薪

CopyOnWriteArrayList.java和ArrayList.java,这2个类的构造函数,注释中有一句话 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 public ArrayList(Collection&lt;? ...

程序员的算法通关课:知己知彼(第一季)

【超实用课程内容】 程序员对于算法一直又爱又恨!特别是在求职面试时,算法类问题绝对是不可逃避的提问点!本门课程作为算法面试系列的第一季,会从“知己知彼”的角度,聊聊关于算法面试的那些事~ 【哪些人适合学习这门课程?】 求职中的开发者,对于面试算法阶段缺少经验 想了解实际工作中算法相关知识 在职程序员,算法基础薄弱,急需充电 【超人气讲师】 孙秀洋&nbsp;| 服务器端工程师 硕士毕业于哈工大计算机科学与技术专业,ACM亚洲区赛铜奖获得者,先后在腾讯和百度从事一线技术研发,对算法和后端技术有深刻见解。 【课程如何观看?】 PC端:https://edu.csdn.net/course/detail/27272 移动端:CSDN 学院APP(注意不是CSDN APP哦) 本课程为录播课,课程无限观看时长,但是大家可以抓紧时间学习后一起讨论哦~

DirectX修复工具V4.0增强版

DirectX修复工具(DirectX Repair)是一款系统级工具软件,简便易用。本程序为绿色版,无需安装,可直接运行。 本程序的主要功能是检测当前系统的DirectX状态,如果发现异常则进行修复

Python可以这样学(第四季:数据分析与科学计算可视化)

董付国老师系列教材《Python程序设计(第2版)》(ISBN:9787302436515)、《Python可以这样学》(ISBN:9787302456469)配套视频,在教材基础上又增加了大量内容,通过实例讲解numpy、scipy、pandas、statistics、matplotlib等标准库和扩展库用法。

微信小程序开发实战之番茄时钟开发

微信小程序番茄时钟视频教程,本课程将带着各位学员开发一个小程序初级实战类项目,针对只看过官方文档而又无从下手的开发者来说,可以作为一个较好的练手项目,对于有小程序开发经验的开发者而言,可以更好加深对小程序各类组件和API 的理解,为更深层次高难度的项目做铺垫。

ThinkPHP6.0完全开发手册-03201220.pdf

ThinkPHP6快速入门,php必备

相关热词 c# dbml文件 修改 c#遍历tree c# 能够控制单片机 c#对象写入数据库 c# 添加activex c#2005 json c# 数据库在云端 c# 字符串移位加密 c#禁用滚轮 c#实体类list去重复
立即提问