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

Run error issue #2

Open
Top-Fish opened this issue Jul 13, 2021 · 0 comments
Open

Run error issue #2

Top-Fish opened this issue Jul 13, 2021 · 0 comments

Comments

@Top-Fish
Copy link

Top-Fish commented Jul 13, 2021

First, thanks a lot for everyone.
I met a problem when i run this comboFM__example.py at pycharm. The details :

E:\PyCharm\python_env\python.exe F:/python/tffm/comboFM-master/comboFM__example.py
2021-07-13 22:27:18.628135: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2021-07-13 22:27:18.628253: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
Traceback (most recent call last):
File "F:\python\tffm\comboFM-master\comboFM__example.py", line 7, in
from tffm.models import TFFMRegressor
File "E:\PyCharm\python_env\lib\site-packages\tffm_init_.py", line 1, in
from .models import TFFMClassifier, TFFMRegressor
File "E:\PyCharm\python_env\lib\site-packages\tffm\models.py", line 4, in
from .base import TFFMBaseModel
File "E:\PyCharm\python_env\lib\site-packages\tffm\base.py", line 2, in
from .core import TFFMCore
File "E:\PyCharm\python_env\lib\site-packages\tffm\core.py", line 6, in
class TFFMCore():
File "E:\PyCharm\python_env\lib\site-packages\tffm\core.py", line 96, in TFFMCore
optimizer=tf.train.AdamOptimizer(learning_rate=0.01), reg=0,
AttributeError: module 'tensorflow._api.v2.train' has no attribute 'AdamOptimizer'

Process finished with exit code 1

So is the version of tensorflow error ??? my tensorflow is latest 2.5.0

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