• Security threats of artificial intelligence: analysis of attack and defense in deep learning


    On September 15, “all things intelligence – Baidu world 2020″ was held online. The conference, together with CCTV news, released Baidu AI’s latest and cutting-edge technologies, products and solutions in the form of online conference for the industry, partners, users and media. Among them, in the Baidu PaddlePaddle and ecological open class links, Zhong Zhenyu, […]

  • How to write Maven parent POM file


    Parent POM defines your project model, including construction method, project environment, project dependency, output Javadoc, release source code and so on. How to write a parent POM is a ready-made and being used in some projectsClick to view GitHub source code peaceful-basic-platform A best global parent pom file , you can use it in jar […]

  • Solve the error problem of loading the trained model by python


    This is a very stupid mistake Take a good look at the error information when debugging Remind yourself to take good care of error! Remember! Remember! ———————–Dividing line—————- Pytorch is already very friendly. You only need a simple command to save and load the model #Save the entire network and parameters torch.save(your_net, ‘save_name.pkl’) #Loading saved […]

  • Keras official Chinese document: functional model API


    Functional model interface Keras’s functional model isModelThat is, the generalized model with input and output, we useModelTo initialize a functional model from keras.models import Model from keras.layers import Input, Dense a = Input(shape=(32,)) b = Dense(32)(a) model = Model(inputs=a, outputs=b) Here, our model usesaFor input, tobFor output, we can also construct models with multiple inputs […]

  • Six java examples of alink online learning


    I published a series of articles on how to use Python for alink online learning Some readers reported that they need java version. Although these two versions are the same in algorithm principle, there are still many differences in the process of using. In order to facilitate readers to quickly use java to start alink […]

  • AI has a bright future: NAIE platform helps garbage classification


    Abstract:The classification and treatment of domestic waste is the focus of the whole society at present. How to classify and detect domestic waste concisely and efficiently is very important for the transportation and treatment of waste. The application of AI technology in garbage classification has become the focus of attention. Nowadays, AI is the pronoun […]

  • Detailed explanation of the difference between using pytorch save model for testing and continuing training


    Save model Save the model just for testing, just torch.save(model.state_dict, path) Path is the saved path However, sometimes there are too many models and data to complete the training at one time, and when the Adam optimizer is used, the optimizer parameters and epoch of the training must be saved state = { ‘model’: model.state_dict(), […]

  • Summary of the interview questions of the latest PHP senior engineers in large factories in 2020 (2)


    51. The user ID is stored in the database and there are many lines of fee deduction. The user’s wallet is stored in redis. Now we need to write a script to synchronize the fee deduction records in the database to redis and execute it every five minutes. What should we consider? Thinking: producer and […]

  • The lecture of Statistical Science


    01. Preface We talked about multiple linear regression. In this article, let’s talk about gradual regression. What is stepwise regression? It’s literally a step-by-step return. We know that the element in multiple regression refers to the independent variable, and multiple variables are multiple independent variables, namely multiple X. One of the questions we need to […]

  • Go carbon Version 1.2.1 has been released, adding several new methods


    Carbon is a lightweight, semantic and developer friendly golang time processing library, which supports chain call, lunar calendar, Gorm, xorm and other mainstream orm If you think it’s good, please give it to a star github:github.com/golang-module/carbon gitee:gitee.com/go-package/carbon Installation and use //Using GitHub Library go get -u github.com/golang-module/carbon import ( “github.com/golang-module/carbon”) //Using gitee Library go get […]

  • Ernie | the best semantic understanding framework, naturally supported by AWS


    Children’s shoes that focus on machine learning technology may have heard that in semeval 2020, the world’s largest semantic evaluation competition recently held, Ernie, a semantic understanding framework, has won five world champions, including key text segment mining of visual media, multilingual aggressive language detection and sentiment analysis of mixed languages! Ernie (enhanced representation through […]

  • Emotion analysis technology: let intelligent customer service understand human emotion better


    Introduction:Intelligent customer service not only solves customers’ high-frequency business problems, but also needs to provide customers with multi-dimensional, human like assistant, shopping guide, chat and entertainment services, so as to improve customers’ overall satisfaction with intelligent customer service robot. In this process, emotion analysis technology plays an important role in the capacity building of robot […]