Skip to main content

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

Metadata

Release files for espiownage 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for espiownage 0.1.0
File Size Uploaded
espiownage-0.1.0.tar.gz 33.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for espiownage 0.1.0
File Interpreter ABI Platform
espiownage-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 67.7 kB

Release files / espiownage-0.1.0.tar.gz

Download URL espiownage-0.1.0.tar.gz
Size 33.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5fecd063308f582f9078027543c302fb372b29a1cdf4fe436dd59bdade2de06d
BLAKE2b-256 checksum
How to use checksums
eb396c6477092dd1b7d5ff07027e6ffa76e56388be946523f86259d37d4862c7
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / espiownage-0.1.0-py3-none-any.whl

Download URL espiownage-0.1.0-py3-none-any.whl
Size 33.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
894b28f92b412bb7604bc9ece4d41467567638dd1d0b4db8e410835c596267d7
BLAKE2b-256 checksum
How to use checksums
8c344f849d4d6e3c14dcae2692aa6401382541cb151f3a9a99548ebfb77c9ed2
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.47

2 release files

0.0.42

2 release files

0.0.36

2 release files

0.0.27

2 release files

0.0.19

2 release files

0.0.4

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page