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

import error #26

Open
shengzhang90 opened this issue Nov 16, 2017 · 1 comment
Open

import error #26

shengzhang90 opened this issue Nov 16, 2017 · 1 comment

Comments

@shengzhang90
Copy link

Dear Deng:
I'm sorry I am a newer for TensorFlow framework and get an error of following:

++ set -e
++ export CUDA_VISIBLE_DEVICES=0
++ CUDA_VISIBLE_DEVICES=0
++ CHECKPOINT_PATH=/home/jin/zs/seglink/seglink-512/
++ DATASET_DIR=/home/jin/data/ch4/ch4_test_imgs
++ python test_seglink.py --checkpoint_path=/home/jin/zs/seglink/seglink-512/ --gpu_memory_fraction=-1 --seg_conf_threshold=0.8 --link_conf_threshold=0.5 --dataset_dir=/home/jin/data/ch4/ch4_test_imgs
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcublas.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcudnn.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcufft.so locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:111] successfully opened CUDA library libcurand.so locally
Traceback (most recent call last):
File "test_seglink.py", line 9, in
from tensorflow.contrib.training.python.training import evaluation
ImportError: cannot import name evaluation

I will appreciate it very much!
Thanks!

@dengdan
Copy link
Owner

dengdan commented Nov 23, 2017

What your tensorflow version? 1.1.0 should be used, higher versions should be OK too, but I am not sure.

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