This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Define variables | |
INFLUX_URL="http://localhost:8086" # URL of your InfluxDB instance | |
ORG="your_organization" # Your organization name | |
BUCKET="your_bucket" # Your bucket name | |
TOKEN="your_auth_token" # Your authentication token | |
# Define the Flux query | |
QUERY='from(bucket: "your_bucket") |> range(start: -1h) |> filter(fn: (r) => r._measurement == "your_measurement")' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here is a list of various audio datasets, most of them are free use use under respective license. | |
1. Audio Data Set by Google Research : 10-second sound clips drawn from 2,084,320 YouTube videos containing 527 labels. They contain a wide variety of every day sounds. | |
License : DataSet is under Creative Commons Attribution 4.0 International (CC BY 4.0) license, while the ontology is available under a Creative Commons Attribution-ShareAlike 4.0 International(CC BY-SA 4.0) license. | |
Link: https://research.google.com/audioset/index.html | |
2. MAPS Database : A piano database for multipitch estimation and automatic transcription of music. 31 GB of CD-quality recordings in .wav format. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The information or content you provide is for test purpose only and belongs to you. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Simple way to manage several JDK, Graal VM versions on your Mac / Linux Machine and setting the default. | |
Create/Edit .bash_profile file on your computer and add/edit the following 4 lines of code: | |
export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) | |
export JAVA_11_HOME=$(/usr/libexec/java_home -v11) | |
export GRAAL_VM_HOME=<path to GraalVM>/Contents/Home/bin | |
export JAVA_HOME=$JAVA_11_HOME #default JDK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.tensorflow.Graph; | |
import org.tensorflow.Session; | |
import org.tensorflow.Tensor; | |
import org.tensorflow.TensorFlow; | |
public class HelloWorld { | |
public static void main(String[] args) throws Exception { | |
// Creates a Computation Graph | |
try (Graph g = new Graph()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependency> | |
<groupId>org.tensorflow</groupId> | |
<artifactId>tensorflow</artifactId> | |
<version>1.14.0</version> | |
</dependency> |