Ownage of ESPI image inference
Project description
espiownage
Ownage of ESPI image inference. (Pronounced like "espionage" but with a little "own" in the middle.)
This code repository accompanies the paper submission "espiownage:Tracking Transients in Drum Strikes Using Surveillance Technology" for the NeurIPS 2021 workshop on Machine Learning and the Physical Sciences.
This study consists of 3 models: Two that go together (a bounding box detector that feeds cropped images into an antinode ring-counter) and another complements them (an image sementation code we use for regression by scaling the final activation of a "one-class" model.)
All this documentation is fully executable, either locally or on Colab. This is made possible by nbdev, the development system that enabled us to stay organized and do this project in only 18 days!
These pages and the GitHub repo they are generated from are fully anonymized as are all the links that are used, so they're "safe" for reviewers to explore. Note that there is a "real" espiownage repo and PyPi entry (which is where the pip-installs used in these notebooks will pull from for setup/speed purposes) so don't go searching for that. Pending successful review of the paper, this repository will be redirected to the non-anonymous version.
Install
Preliminaries
Ubuntu (& probably other Linuxes):
sudo apt-get install python3-tk
Mac (with Homebrew)
brew install python-tk
Then on all systems, let's set up a virtual environment called espi
.
I like to put my environments in ~/envs
:
mkdir ~/envs; python3 -m venv ~/envs/espi; source ~/envs/espi/bin/activate
And then you want/need to update pip
in case it gave you an ancient version:
python3 -m pip install pip --upgrade
Pip install
pip install espiownage
Note: the requirements on this package follow a "kitchen sink" approach so that everything a student might need gets installed, e.g. jupyter
and more. (And wheel
because it speeds up the installations...I think.)
How to use
Take a look at the tabs in the sidebar, which arranged in sections according the tasks of detecting antinodes in steelpan drum oscillations, counting the interference friges, and reporting tracking information so that scientists can better understand the rapid transient dynamics of these instruments -- it is the transients that give the instrument its distinctive sound!
Console Scripts
See the separate page on console scripts
Contributing / Development
You'll want to install more things:
pip install nbdev twine
Fork this repo. When you want to update your repo, one macro does it all (see Makefile
):
make git_update
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file espiownage-0.1.0.tar.gz
.
File metadata
- Download URL: espiownage-0.1.0.tar.gz
- Upload date:
- Size: 33.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fecd063308f582f9078027543c302fb372b29a1cdf4fe436dd59bdade2de06d |
|
MD5 | c8633f40c571aa56178371eed9aaf633 |
|
BLAKE2b-256 | eb396c6477092dd1b7d5ff07027e6ffa76e56388be946523f86259d37d4862c7 |
File details
Details for the file espiownage-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: espiownage-0.1.0-py3-none-any.whl
- Upload date:
- Size: 33.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 894b28f92b412bb7604bc9ece4d41467567638dd1d0b4db8e410835c596267d7 |
|
MD5 | 462574d31abde32f77b199e5a33e9132 |
|
BLAKE2b-256 | 8c344f849d4d6e3c14dcae2692aa6401382541cb151f3a9a99548ebfb77c9ed2 |