Raspberry pie Python 3.7 voice assistant Development Notes
Raspberry pie Python 3.7 voice assistant development notes (5)
Then there's the chat module, the Turing Robot module in the Big Guy post, with little change.
def Turing(text_words=""):
req = {
"reqType":0,
"perception": {
"inputText": {
"text": text_words
},
...
Added by ricmch on Mon, 03 Feb 2020 05:36:33 +0200
Building high availability rabbitmq cluster
1, Set up each node of the cluster
Prepare five nodes, which are:
192.168.154.150
192.168.154.151
192.168.154.152
192.168.154.153
192.168.154.155
For the convenience of operation, only the first three nodes are prepared here
Construction of rabbitmq cluster image mode
1) Stop each node servi ...
Added by fncuis on Sat, 01 Feb 2020 08:54:14 +0200
Lightweight C + + neural network application library CreativeLus: 3. Complex function approximation. Case: multi input mixed approximation.
github resource address:[ Release-x86/x64]
Last article: Lightweight C + + neural network application library CreativeLus: 2. Classification problem. Case: space points are classified in plane 2.
Next article: Creative LUS: 4. CNN convolutional neural network. Case: (MNIST) handwritten digit recognitio ...
Added by Kingy on Fri, 31 Jan 2020 23:07:10 +0200
Web service network request in Android
There are many articles about using web service in Android, here is just a brief introduction.
Here you need to first introduce the package of webservice (click download: Ksoap2.jar ), why soap? It's a long story. SOAP Protocol directly asks Du Niang.
The next step is to use:
First, there should be a url like this (http://ip ...
Added by jc94062 on Fri, 31 Jan 2020 06:19:55 +0200
Deep Residual Shrinking Network
ResNet, a deep residual network, won the Best Paper Award at the 2016 CVPR conference and has so far received 38295 academic citations from Google.
The deep residual shrinking network is a new and improved version of deep residual network, which is actually a deep integration of deep residual network, attention mechanism and soft threshold fun ...
Added by CircularStopSign on Tue, 28 Jan 2020 18:53:24 +0200
Official DGL tutorial - Transformer tutorial
Note:
Click here to download the full example code
Transformer tutorial
Author: Zihao Ye, Jinjing Zhou, Qipeng Guo, Quan Gan, Zheng Zhang
In this tutorial, you will learn a simplified implementation of the Transformer model. You can see the highlights of the most important design points. For example, ...
Added by arhunter on Tue, 28 Jan 2020 11:37:02 +0200
Crawler Learning (crawling weather information in a crawler battle)
1. General Framework List + Crawl Web Pages:
#Data Visualization
from pyecharts import Bar
#Used for url connection login and other functions
import requests
#Parse data
from bs4 import BeautifulSoup
#Used to access crawled data
data = []
def parse_data(url):
headers = {
'User-Agent':"Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWeb ...
Added by Pastulio on Tue, 28 Jan 2020 09:44:05 +0200
Use BeetleX.NetBenchmark to test TCP,HTTP, and Websocket services
NetBenchmark is an open source component tailored for network service pressure testing, which provides TCP,HTTP, and Web ocket stress testing infrastructure; in order to better meet business requirements, components do not provide a way to configure the source of UI information (after all, this can only be a limited test), but rather users deve ...
Added by jmugambi on Tue, 28 Jan 2020 05:40:38 +0200
tensorflow 2.0 deep learning (Part 3 convolution neural network part 2)
Various classical convolution networks
LeNet-5
import tensorflow as tf
help(tf.losses.categorical_crossentropy)
//View the list of default parameters and the introduction to the usage of the category? Crossentropy function
//Where the parameter is from Logits = false by default, and the netw ...
Added by graham23s on Sun, 26 Jan 2020 11:25:32 +0200
VM, CentOS 7 Configuration Network Card in VBOX
We often need to copy the virtual machines of VM and VBOX. One of the steps we can't take is to reconfigure the network card.Sometimes it's very cumbersome.A slightly simpler operation is recorded here, with no udev device bound to various sauce operations.
1. For newly replicated virtual machines, please choose to regenerate the MAC address. ...
Added by JMJimmy on Sun, 26 Jan 2020 09:18:45 +0200