keums / melodyextraction_jdc Goto Github PK
View Code? Open in Web Editor NEW"Joint Detection and Classification of Singing Voice Melody Using Convolutional Recurrent Neural Networks"
License: MIT License
"Joint Detection and Classification of Singing Voice Melody Using Convolutional Recurrent Neural Networks"
License: MIT License
When I try to freeze TF graph that uses tf.keras layers I get the following exception.
Traceback (most recent call last):
File "/home/ssd1/work/test/melodyExtraction_JDC/python36/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 418, in import_graph_def
graph._c_graph, serialized, options) # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.InvalidArgumentError: NodeDef expected inputs '' do not match 1 inputs specified; Op<name=Const; signature= -> output:dtype; attr=value:tensor; attr=dtype:type>; NodeDef: bidirectional_1/while/add/y = Constdtype=DT_INT32, value=Tensor<type: int32 shape: [] values: 1>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "keras_to_frozen.py", line 111, in
infer(out_filename, input_data)
File "keras_to_frozen.py", line 86, in infer
graph = tf.import_graph_def(graph_def, name="")
File "/home/ssd1/work/test/melodyExtraction_JDC/python36/lib/python3.6/site-packages/tensorflow/python/util/deprecation.py", line 454, in new_func
return func(*args, **kwargs)
File "/home/ssd1/work/test/melodyExtraction_JDC/python36/lib/python3.6/site-packages/tensorflow/python/framework/importer.py", line 422, in import_graph_def
raise ValueError(str(e))
ValueError: NodeDef expected inputs '' do not match 1 inputs specified; Op<name=Const; signature= -> output:dtype; attr=value:tensor; attr=dtype:type>; NodeDef: bidirectional_1/while/add/y = Constdtype=DT_INT32, value=Tensor<type: int32 shape: [] values: 1>
how to resove this problem?
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.