Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help with System Error: Unknown Opcode #9

Open
jay739 opened this issue Oct 8, 2018 · 0 comments
Open

Help with System Error: Unknown Opcode #9

jay739 opened this issue Oct 8, 2018 · 0 comments

Comments

@jay739
Copy link

jay739 commented Oct 8, 2018

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 :)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant