Comments (5)
I guess for that I'll need to run InferenceSystem locally to test that everything works.
Had to fight with my installed Python versions a bit, I know it was only tested on 3.7 but couldn't stop trying newer:
- I had little hope that Python 3.10 on Win would work and it didn't because numpy can't be built, I have abandoned it.
- Python 3.9.5 in Ubuntu didn't work because pip can't find torchaudio==0.6.0 (maybe we should update it in the future)
- Python 3.8.10 worked after installing gcc and python3-dev (
sudo apt install gcc python3-dev
, note that my Ubuntu has 3.8 as default but you might need to specifypython3.8-dev
) and wheel (python -m pip install wheel
)
Local inference worked fine after that.
Now to testing, I have just replaced hls_utils.*
imports with orca_hls_utils.*
imports and installed the package. After trying to run inference again I have discovered that I made a mistake in orca-hls-utils
dependencies and added python-ffmpeg
instead of ffmpeg-python
. Both packages exist and they are incompatible! Funny thing is that I made the same mistake when I worked with ffmpeg from Python over this summer. So I have fixed this dependency in the package and released a new version 0.0.2. Everything seems to work correctly now.
I'll be sending PR removing the code from this repo and adding a new dependency tomorrow.
from aifororcas-livesystem.
Test repo: https://github.com/Molkree/orcasound-hls-utils
Package on Test PyPI: https://test.pypi.org/project/orcasound-hls-utils/
Some questions:
- License: I've put MIT and I guess it's alright to keep it.
- Build system: for now I've just copied stuff from Packaging tutorial, so it's
setuptools>=42
andwheel
. - Readme: just put in two sentences, probably need to add more!
- Metadata (in
setup.cfg
):- What should be the package name? For now I've made it
orcasound-hls-utils
(this is what shows up on PyPI). Related to it is the package name (the one you use when importing in the code,orcasound_hls_utils
now) and repository name (orcasound-hls-utils
now). - How will the versioning work? Right now the version is specified in the
setup.cfg
- Who is the author? (left author/email with placeholders)
- Short description: "Collection of utilities for getting Orcasound HLS data" now.
- What should be the package name? For now I've made it
- Should we specify any version ranges for dependencies?
I will transfer the repository under Orcasound organization when it's ready.
P.S. Oh, and I forgot to add Added dependencies.requirements.txt
, will do now 😅
@prakruti, am I moving in the right direction?
from aifororcas-livesystem.
Sounds great @Molkree! I was earlier wondering if it would be possible to publish from the livesystem repo itself but I guess this is the right thing to do is to create a separate repo for it. Thanks!
from aifororcas-livesystem.
I've transferred the repo to Orcasound (it's here), shortened the name a bit and published it on PyPI.
from aifororcas-livesystem.
So one of the next steps should be removing the code from this repo and instead using the package. I guess for that I'll need to run InferenceSystem locally to test that everything works. Correct, @prakruti?
from aifororcas-livesystem.
Related Issues (20)
- Add longer time periods to Dashboard filter
- For aged authentication, UI confirms moderation, but queue is unchanged HOT 1
- Add "tag" as a parameter in OrcaHello API
- Add new hydrophones to ML pipeline & document process HOT 21
- OrcaHello summary page HOT 2
- Moderator can't log in to Orca Hello portal HOT 1
- Automate model training and evaluation pipeline using AzureML HOT 1
- Merge in any relevant logic from Aayush's forked repo
- Change audio streaming code to pad TS files with zeroes
- Potential Audio splicing issue HOT 1
- Haro Strait vs Straight HOT 7
- Sunset Bay doesn't appear in the filter selection
- Add a coastal Oregon hydrophone to the ML pipeline
- ML Hackathon Objectives
- Publish best OrcaHello model(s) along with a RAIL (Responsible AI License) HOT 1
- Review & upgrade deprecated features/versions
- (DESIGN) Complete OrcaHello UI/API Development and Deployment HOT 3
- InferenceSystem "Create a virtual environment" instructions don't work HOT 4
- Compute system latencies and visualize HOT 1
- Implement new Fish Sound detector on Orcasound data
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aifororcas-livesystem.