You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello everyone!
I'm new to neural networks and every technology related to it. But I try experimenting and learning new things. I came across this git while I was surfing and thought why not give it a try! So, I've done everything what the author suggested. Right from installing the required packages to running of the server. But when I run "server.py" file, I get the following error:
(C:\Users\lenovo\Anaconda3\envs\new_env) C:\genre-recognition-master>python server.py XXX lineno: 56, opcode: 0 Traceback (most recent call last): File "server.py", line 96, in <module> options.weights_path) File "C:\genre-recognition-master\genre_recognizer.py", line 11, in __init__ model = model_from_yaml(f.read()) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\engine\saving.py", line 329, in model_from_yaml return deserialize(config, custom_objects=custom_objects) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\layers\serialization.py", line 64, in deserialize printable_module_name='layer') File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\utils\generic_utils.py", line 173, in deserialize_keras_object list(custom_objects.items()))) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\engine\network.py", line 1162, in from_config process_node(layer, node_data) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\engine\network.py", line 1120, in process_node layer(input_tensors[0], **kwargs) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 703, in __call__ outputs = self.call(inputs, *args, **kwargs) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\layers\core.py", line 709, in call return self.function(inputs, **arguments) File "train_model.py", line 56, in <lambda> function=lambda x: K.mean(x, axis=1), SystemError: unknown opcode
I hope someone to address this issue soon and Thanks in advance :)!
The text was updated successfully, but these errors were encountered:
Hello everyone!
I'm new to neural networks and every technology related to it. But I try experimenting and learning new things. I came across this git while I was surfing and thought why not give it a try! So, I've done everything what the author suggested. Right from installing the required packages to running of the server. But when I run "server.py" file, I get the following error:
(C:\Users\lenovo\Anaconda3\envs\new_env) C:\genre-recognition-master>python server.py XXX lineno: 56, opcode: 0 Traceback (most recent call last): File "server.py", line 96, in <module> options.weights_path) File "C:\genre-recognition-master\genre_recognizer.py", line 11, in __init__ model = model_from_yaml(f.read()) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\engine\saving.py", line 329, in model_from_yaml return deserialize(config, custom_objects=custom_objects) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\layers\serialization.py", line 64, in deserialize printable_module_name='layer') File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\utils\generic_utils.py", line 173, in deserialize_keras_object list(custom_objects.items()))) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\engine\network.py", line 1162, in from_config process_node(layer, node_data) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\engine\network.py", line 1120, in process_node layer(input_tensors[0], **kwargs) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\engine\base_layer.py", line 703, in __call__ outputs = self.call(inputs, *args, **kwargs) File "C:\Users\lenovo\Anaconda3\envs\new_env\lib\site-packages\tensorflow\python\keras\layers\core.py", line 709, in call return self.function(inputs, **arguments) File "train_model.py", line 56, in <lambda> function=lambda x: K.mean(x, axis=1), SystemError: unknown opcode
I hope someone to address this issue soon and Thanks in advance :)!
The text was updated successfully, but these errors were encountered: