-
Notifications
You must be signed in to change notification settings - Fork 193
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
Add support for tensorflow v2 or above? #28
Comments
@hms5232 |
感謝提供方法,有空的時候我再來試試 |
Merged with #27。目前版本和TensorFlow 1.15及2.3皆相容。 |
非常感謝!實際測試在下面環境下可以成功運作!
另外 README 中關於環境需求的部份可能也要記得更新一下囉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
您好:最近在嘗試使用這個套件,在分析文本階段會不斷出現下列錯誤:
AttributeError: 'WS' object has no attribute 'model'
及
AttributeError: module 'tensorflow' has no attribute 'variable_scope'
等等的錯誤。
在查詢後發現我使用的 tensorflow 版本為 2.3.0 ,和 README 中提及的版本需求不符(貌似 2 以上都會有這個問題,參考 #17 (comment) ),因此決定降版。但在過程中發現最低只能降到 2.2.0,才發現原來是 Python 3.8 不支援 tensorflow 2.2 之前的版本(ref)。雖然降板可能可以解決此問題,但還是希望日後或許能增加對新版 tensorflow 的支援(或期望 Python 3.8 能用舊版的 tensorflow 了)
The text was updated successfully, but these errors were encountered: