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

facing Attribute error, can you please help me in fixing this #5

Open
mriyazhussain opened this issue May 19, 2022 · 0 comments
Open

Comments

@mriyazhussain
Copy link

PS C:\Users\RiyazHussain\Downloads\api_ner-master\api_ner-master> python app.py
2022-05-19 12:38:52.702197: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudart64_110.dll'; dlerror: cudart64_110.dll not found
2022-05-19 12:38:52.702526: 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 "C:\Users\RiyazHussain\Downloads\api_ner-master\api_ner-master\app.py", line 23, in
model_api = get_model_api()
File "C:\Users\RiyazHussain\Downloads\api_ner-master\api_ner-master\serve.py", line 40, in get_model_api
model.build()
File "C:\Users\RiyazHussain\Downloads\api_ner-master\api_ner-master\model\ner_model.py", line 220, in build
self.add_placeholders()
File "C:\Users\RiyazHussain\Downloads\api_ner-master\api_ner-master\model\ner_model.py", line 24, in add_placeholders
self.word_ids = tf.placeholder(tf.int32, shape=[None, None],
AttributeError: module 'tensorflow' has no attribute 'placeholder'
PS C:\Users\RiyazHussain\Downloads\api_ner-master\api_ner-master>

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