tut-arg / sed_vis Goto Github PK
View Code? Open in Web Editor NEWVisualization toolbox for Sound Event Detection
License: MIT License
Visualization toolbox for Sound Event Detection
License: MIT License
hi, use the demo file, it can show the picture.
But when i use the my own data, such as b044.ann as reference and b044_output.ann as estimated.
It happens below.
Traceback (most recent call last):
File "vis.py", line 26, in
vis.show()
File "/home/lhh/sed_vis/sed_vis/visualization.py", line 667, in show
self.generate_GUI()
File "/home/lhh/sed_vis/sed_vis/visualization.py", line 388, in generate_GUI
color='0.5'
File "/home/lhh/.local/lib/python2.7/site-packages/matplotlib/init.py", line 1867, in inner
return func(ax, *args, **kwargs)
File "/home/lhh/.local/lib/python2.7/site-packages/matplotlib/axes/_axes.py", line 5101, in fill_between
'is not 1-dimensional.')
ValueError: Input passed into argument "u'y1'"is not 1-dimensional.
Hi! After successful installation in a python 3.6 environment on Ubuntu 20.04 LTS, visualizers/sed_visualizer.py
returns:
Traceback (most recent call last): File "visualizers/sed_visualizer.py", line 10, in <module> import sed_vis File "<frozen zipimport>", line 259, in load_module File "/home/galvo/.virtualenvs/py36/lib/python3.8/site-packages/sed_vis-0.1.2-py3.8.egg/sed_vis/__init__.py", line 5, in <module> File "<frozen zipimport>", line 259, in load_module File "/home/galvo/.virtualenvs/py36/lib/python3.8/site-packages/sed_vis-0.1.2-py3.8.egg/sed_vis/visualization.py", line 21, in <module> ModuleNotFoundError: No module named 'sed_vis.util'
Any hints? Thanks.
Line 194 in 9f8bf8f
I am unable to get the UI as shown here. Instead, I am getting a static plot of the event roll as attached after executing the test_sed_visualizer.sh script.
Hi, when I run the
Quickstart: Using sed_vis in Python code
with the demo file a001.wav and a001_system_output_prob.csv
that is:
import sed_vis
import dcase_util
audio_container = dcase_util.containers.AudioContainer().load(
'./tests/data/a001.wav'
)
reference_event_list = dcase_util.containers.MetaDataContainer().load(
'./tests/data/a001.ann'
)
estimated_event_list = dcase_util.containers.MetaDataContainer().load(
'./tests/data/a001_system_output_prob.csv'
)
event_lists = {
'reference': reference_event_list,
'estimated': estimated_event_list
}
vis = sed_vis.visualization.EventListVisualizer(event_lists=event_lists,
audio_signal=audio_container.data,
sampling_rate=audio_container.fs)
vis.show()
However, I got the following warning:
.../lib/python2.7/site-packages/matplotlib/figure.py:2299: UserWarning: This figure includes Axes that are not compatible with tight_layout, so results might be incorrect.
warnings.warn("This figure includes Axes that are not compatible "
.../lib/python2.7/site-packages/matplotlib/tight_layout.py:209: UserWarning: tight_layout cannot make axes height small enough to accommodate all axes decorations
warnings.warn('tight_layout cannot make axes height small enough '
and the resulted png figure didn't show probability and the estimated results were also gone.
I don't know how to figure it out, can you give me some tips? Thank you very much!
Hello, I get a figure with 'play', 'stop' and 'close' tag, after run sed_visualizer.py as supposed.
I want to listen to the audio by click the 'play' tag,
however, I get a error:
IOError: [Errno -9996] Invalid output device (no default output device)
as shown in the title
I google it, and find that maybe something wrong with pyaudio and portaudio
I try to fix it follow the two methods in the following :
https://stackoverflow.com/questions/4672155/pyaudio-ioerror-no-default-input-device-available?rq=1
unfortunately, they fail to fix it.
Do you have met this? any advice would be appreciated!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.