Skip to content

Latest commit

 

History

History
69 lines (60 loc) · 2.63 KB

README.md

File metadata and controls

69 lines (60 loc) · 2.63 KB

ai-signal-processing

Framework, Tools and Solutions for processing high-rate signal data such as acoustics, vibrations, etc. See the wiki for documentation.

Please subscribe to the Community mailer to participate in asynchronous discussions. https://lists.enterpriseneurosystem.org/admin/lists/community.lists.enterpriseneurosystem.org/

Contact David Wood ([email protected]) for questions/comments/contributions.

Build/Install

  1. Install Java 1.8 or later (up to Java 14)
  2. Install maven 3.6.3 or later
  3. git pull this repo
    1. mvn -DskipTests=true clean install
    2. cd SOMEWHERE; unzip .../ai-signal-processing/aisp-core/aisp-core-main-cpu/target/aisp-core-main-cpu-0.0.1-SNAPSHOT.zip
    3. ...or...
    4. cd SOMEWHERE; unzip .../ai-signal-processing/aisp-core/aisp-core-main-gpu/target/aisp-core-main-gpu-0.0.1-SNAPSHOT.zip
  4. See the wiki to enable and use the CLI

To build the CLI zip on Ubuntu:

sudo apt update
sudo apt install openjdk-11-jre-headless
sudo apt install maven
git clone https://github.com/Enterprise-Neurosystem/ai-signal-processing.git
cd ai-signal-processing
mvn -DskipTests clean install 
ls aisp-core/aisp-core-main-*/target/*.zip  # These are the zip files containing the CLI - one for cpu and one for GPU-enabled machines.

To enable on Linux, you can install the CLI tree anywhere, but we'll put it in your home directory here. For CPU (non-GPU) installations

cd ~
unzip YOUR_GIT_PARENT_DIR/ai-signal-processing/aisp-core/aisp-core-main-cpu/target/aisp-core-main-*.zip
export AISP_HOME=$HOME/aisp
export PATH=$AISP_HOME/bin:$PATH
sudo setup-aisp 

Or for the GPU installation

cd ~
unzip YOUR_GIT_PARENT_DIR/ai-signal-processing/aisp-core/aisp-core-main-gpu/target/aisp-core-main-*.zip
export AISP_HOME=$HOME/aisp
export PATH=$AISP_HOME/bin:$PATH
sudo setup-aisp -gpu 

You will probably want to add the two export commands above to your ~/.bashrc file so you have the CLI available in all your shells. Also, the runtime can be installed on Windows, although you'll need to use set instead of export in the above.

Dependency

Artifacts are not currently published to any public maven repositories, but if you build locally you can use the following dependency in your projects.

<dependency>
   <groupId>org.eng.aisp</groupId>
   <artifactId>aisp-core-main-cpu</artifactId>
   <version>0.0.1-SNAPSHOT</version>
</dependency>

or, if you will have GPUs

<dependency>
   <groupId>org.eng.aisp</groupId>
   <artifactId>aisp-core-main-gpu</artifactId>
   <version>0.0.1-SNAPSHOT</version>
</dependency>