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

ImportError: cannot import name 'deprecated_endpoints' #46

Open
EEECGWood opened this issue Mar 28, 2019 · 1 comment
Open

ImportError: cannot import name 'deprecated_endpoints' #46

EEECGWood opened this issue Mar 28, 2019 · 1 comment

Comments

@EEECGWood
Copy link

import tensorflow.contrib.tensorrt as trt

Traceback (most recent call last):
File "", line 1, in
File "/root/anaconda3/envs/py35/lib/python3.5/site-packages/tensorflow/contrib/tensorrt/init.py", line 25, in
from tensorflow.contrib.tensorrt.python import *
File "/root/anaconda3/envs/py35/lib/python3.5/site-packages/tensorflow/contrib/tensorrt/python/init.py", line 22, in
from tensorflow.contrib.tensorrt.python.ops import trt_engine_op
File "/root/anaconda3/envs/py35/lib/python3.5/site-packages/tensorflow/contrib/tensorrt/python/ops/trt_engine_op.py", line 25, in
from tensorflow.contrib.tensorrt.ops.gen_trt_engine_op import *
File "/root/anaconda3/envs/py35/lib/python3.5/site-packages/tensorflow/contrib/tensorrt/ops/gen_trt_engine_op.py", line 24, in
from tensorflow.python.util.deprecation import deprecated_endpoints
ImportError: cannot import name 'deprecated_endpoints'

can u guys giive me a favor?

@AKhileshPothuri
Copy link

Hey..I'm facing the same issue. Can you tell me how have you solved it earlier?

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

2 participants