shellnet
shellnet copied to clipboard
AttributeError: module 'tensorflow' has no attribute 'py_function'
I use the tf=1.9.0,when i run the code train_cls.py,the issue is emenied:AttributeError: module 'tensorflow' has no attribute 'py_function',can you help me?
please check with tensorflow. Such problem can be easily solved when you search online. For example, you can try replace it with py_func to be compatible with tf 1.9.0.
thank you, I solved this problem by replacing py_function
with py_func