justinsalamon / musicseg_deepemb Goto Github PK
View Code? Open in Web Editor NEWCode for paper: "Deep Embeddings and Section Fusion Improve Music Segmentation"
License: Other
Code for paper: "Deep Embeddings and Section Fusion Improve Music Segmentation"
License: Other
Im gettin' this error when im importing the lib:
File "/home/machado/Documents/music-seg/musicseg_deepemb/musicsections/__init__.py", line 5, in <module>
from .deepsim import load_deepsim_model
File "/home/machado/Documents/music-seg/musicseg_deepemb/musicsections/deepsim.py", line 4, in <module>
import tensorflow.compat.v1.keras.backend as K
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/api/_v1/keras/__init__.py", line 10, in <module>
from keras import __version__
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/__init__.py", line 25, in <module>
from keras import models
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/models.py", line 20, in <module>
from keras import metrics as metrics_module
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/metrics.py", line 26, in <module>
from keras import activations
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/activations.py", line 20, in <module>
from keras.layers import advanced_activations
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/layers/__init__.py", line 23, in <module>
from keras.engine.input_layer import Input
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/engine/input_layer.py", line 21, in <module>
from keras.engine import base_layer
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/engine/base_layer.py", line 43, in <module>
from keras.mixed_precision import loss_scale_optimizer
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/mixed_precision/loss_scale_optimizer.py", line 18, in <module>
from keras import optimizers
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/optimizers.py", line 26, in <module>
from keras.optimizer_v2 import adadelta as adadelta_v2
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/optimizer_v2/adadelta.py", line 22, in <module>
from keras.optimizer_v2 import optimizer_v2
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/keras/optimizer_v2/optimizer_v2.py", line 37, in <module>
"/tensorflow/api/keras/optimizers", "keras optimizer usage", "method")
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/tensorflow/python/eager/monitoring.py", line 361, in __init__
len(labels), name, description, *labels)
File "/home/machado/Documents/music-seg/musicseg_deepemb/seg/lib/python3.7/site-packages/tensorflow/python/eager/monitoring.py", line 135, in __init__
self._metric = self._metric_methods[self._label_length].create(*args)
tensorflow.python.framework.errors_impl.AlreadyExistsError: Another metric with the same name already exists.```
my settings:
```python
cython==0.29.32
mido==1.2.10
numpy==1.19.2
scipy==1.4.1
torch==1.1.0
torchvision==0.2.1
torchsummary==1.5.1
scikit-learn==0.22.1
audioread==2.1.8'
numba==0.48.0
pandas==1.0.3
resampy==0.2.2
SoundFile==0.10.3.post1
sox==1.3.7
h5py>=3.1.0
librosa==0.7.0
tensorflow==2.6.0
mir_eval==0.6
matplotlib==3.4.3
keras==2.7.0```
Hi, Thanks for your great work.
When i'm trying to run the repo, it occurs the error: keras load_model error. SystemError: unknown opcode
What's the python version this repo used?
Look forward to your reply ~
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.