Tenorflow upgraded to 1.9-rc0, generated static graph frozen graph. Pb local test normal, run error NodeDef mentions attr’dilations’not in Op < name = Conv2D under other versions (eg1.4)

NodeDef attr’dilations’not found in the node definition, indicating that the execution version of NodeDef is not on the node definition, two inconsistent, respectivelyExecute inference codeandGenerate static graphsNodes are inconsistent (of course, because the execution environment is different from the generative environment, that is, the version problem). The solution: If it’s deployed in the cloud, create a model graph in the cloud, and then combine CKPT and graph in the cloud to generate a static graph. If it is embedded, it is to adjust the local version of the same (th...

HTTPS page can not send HTTP request? About mixed content

We all know that HTTPS pages can’t send HTTP requests, so what’s the reason why HTTPS pages can’t send HTTP requests? If there is a need to send, how can we send it? I recently encountered this problem and searched for half a day without searching for reliable answers.With this article. 1. The origin of the story As I mentioned in Jquery ajax, Axios, and Fetch’s Differences, Fetch, as a different way of requesting from XHR, shows more APIs and promising prospects for meeting ES specifications; let alone supporting POST cross-domain.Just on the job to use the post meth...

jQuery validate and groups – how to avoid errorPlacement usage?

Reference: https://stackoverflow.com/questions/14146893/using-groups-with-jquery-form-validation-how   Specify the location of the error prompt. <form id="myform"> First Name: <input type="text" name="fname" id="fname"/><br> Last Name: <input type="text" name="lname" id="lname"/><br> <input type="submit"/> </form>​ And this validate code: $("#myform").validate({ rules: { fname: { required: true }, lname: { required: true } }, groups: { username: "fname lname" }, errorPlacement: function(erro...

About the Android studio Error: Execution failed for task’: app: preDebug Android Test Build’.

About the Android studio Error: Execution failed for task’: app: preDebug Android Test Build’. 201805, 09, 20:06:56Reading: 19971Tags: Android development environmentMore Personal category: Android environment configuration Android studio will open the following errors in the build process. Error:Execution failed for task ‘:app:preDebugAndroidTestBuild’. > Conflict with dependency ‘com.android.support:support-annotations’ in project ‘:app’. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.and...

Group push for ASP.NET SignalR series (five)

In the last chapter, we introduce the one to one push mode. This chapter focuses on the next group push and multi person push. Groups use methods primarily: Groups. Add (Context. ConnectionId, groupName); add different connection IDs to the same group name The following is a demonstration of the functions of group chat. Server code:        /// <summary> /// Send to specified group/// </summary> public void CallGroup(string fromname, string content) { string groupname = Context.QueryString["groupname"]; //Get the user name sent by the c...