TypeError: __init__() got an unexpected keyword argument 'serialized_options'
See original GitHub issueI finally was able to install all required packages, but after that:
Traceback (most recent call last):
File "Predict.py", line 3, in <module>
import Evaluate
File "/Users/loretoparisi/Documents/Projects/AI/Wave-U-Net/Evaluate.py", line 2, in <module>
import tensorflow as tf
File "/Library/Python/2.7/site-packages/tensorflow/__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/Library/Python/2.7/site-packages/tensorflow/python/__init__.py", line 59, in <module>
from tensorflow.core.framework.graph_pb2 import *
File "/Library/Python/2.7/site-packages/tensorflow/core/framework/graph_pb2.py", line 15, in <module>
from tensorflow.core.framework import node_def_pb2 as tensorflow_dot_core_dot_framework_dot_node__def__pb2
File "/Library/Python/2.7/site-packages/tensorflow/core/framework/node_def_pb2.py", line 15, in <module>
from tensorflow.core.framework import attr_value_pb2 as tensorflow_dot_core_dot_framework_dot_attr__value__pb2
File "/Library/Python/2.7/site-packages/tensorflow/core/framework/attr_value_pb2.py", line 15, in <module>
from tensorflow.core.framework import tensor_pb2 as tensorflow_dot_core_dot_framework_dot_tensor__pb2
File "/Library/Python/2.7/site-packages/tensorflow/core/framework/tensor_pb2.py", line 15, in <module>
from tensorflow.core.framework import resource_handle_pb2 as tensorflow_dot_core_dot_framework_dot_resource__handle__pb2
File "/Library/Python/2.7/site-packages/tensorflow/core/framework/resource_handle_pb2.py", line 22, in <module>
serialized_pb=_b('\n/tensorflow/core/framework/resource_handle.proto\x12\ntensorflow\"r\n\x13ResourceHandleProto\x12\x0e\n\x06\x64\x65vice\x18\x01 \x01(\t\x12\x11\n\tcontainer\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x11\n\thash_code\x18\x04 \x01(\x04\x12\x17\n\x0fmaybe_type_name\x18\x05 \x01(\tBn\n\x18org.tensorflow.frameworkB\x0eResourceHandleP\x01Z=github.com/tensorflow/tensorflow/tensorflow/go/core/framework\xf8\x01\x01\x62\x06proto3')
TypeError: __init__() got an unexpected keyword argument 'serialized_options'
I have linked the pre-trained nmodels in the checkpoints folder
(.env) ip-192-168-22-127:checkpoints loretoparisi$ tree -L 1
.
├── README.md
├── baseline_stereo -> /Users/loretoparisi/wavenet/models/baseline_stereo
└── full_multi_instrument -> /Users/loretoparisi/wavenet/models/full_multi_instrument
2 directories, 1 file
Issue Analytics
- State:
- Created 5 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
got an unexpected keyword argument "serialized_options ...
TypeError : new() got an unexpected keyword argument ... .python_api.runfiles/org_tensorflow/tensorflow/python/__init__.py", line 52, ...
Read more >Tensorboard TypeError: __init__() got an unexpected keyword ...
I just updated my TensorBoard to version 1.9.0 and now its working! python · tensorflow · typeerror · tensorboard · Share.
Read more >Import tensorflow now broken, TypeError: __new__() got an ...
Import tensorflow now broken, TypeError: __new__() got an unexpected keyword argument 'serialized_options' ... I broke something, have tried to ...
Read more >Flask got an unexpected keyword argument path
8', TypeError: init() got an unexpected keyword argument 'websocket'` if try to ... error: __init__ () got unexpected keyword argument "serialized_options".
Read more >__init__() got an unexpected keyword argument 'renderer' : r ...
self.wait(). in a Jupyter Notebook and Python 3, got the following error: TypeError: __init__() got an unexpected keyword argument 'renderer ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

OK thanks, I will update the repository accordingly. Many thanks for helping me make this project better and more easy-to-use. Have fun with whatever you’re applying it on!
It works now on
macOS!!!👍 💯 🥇