dengdan / seglink

An Implementation of the seglink alogrithm in paper Detecting Oriented Text in Natural Images by Linking Segments
GNU General Public License v3.0
495 stars 178 forks source link

test algorithm on own images #22

Closed idefix92 closed 7 years ago

idefix92 commented 7 years ago

I am proceeding exactly how you describe. However, once I run the code I receive

DataLossError (see above for traceback): Unable to open table file /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/model.ckpt-136750.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator? [[Node: save/RestoreV2_24 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_24/tensor_names, save/RestoreV2_24/shape_and_slices)]] [[Node: save/RestoreV2_56/_73 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_260_save/RestoreV2_56", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]()]]

./scripts/test.sh 0 ~/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750.data-00000-of-00001 ~/Desktop/A_M-arbeit/G_Code/E_seglink/datasets/mydata/

I do not see an error in my command. Any advice how to proceed here?

Best

Valentin

dengdan commented 7 years ago

try:

./scripts/test.sh 0 ~/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 \ 
~/Desktop/A_M-arbeit/G_Code/E_seglink/datasets/mydata/
idefix92 commented 7 years ago

Thanks. I will try. Is it possible to run only on CPU or is it only-GPU powered algorithm?

dengdan commented 7 years ago

Pure CPU is OK.

idefix92 commented 7 years ago

That is the result somehow. I use the tensorflow 1.1.0 GPU. 2 GB of GPU Memory should be enough for testing I guess?

I am getting a huge error, which I rather not paste here... I don't even have a clue where to start. So many tracebacks. Everything is installed as described. Had anyone similar experience while testing on own data sets? . . . ~/Desktop/A_M-arbeit/G_Code/E_seglink$ ./scripts/test.sh 0 ~/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 ~/Desktop/A_M-arbeit/G_Code/E_seglink/datasets/mydata/ ++ set -e ++ export CUDA_VISIBLE_DEVICES=0 ++ CUDA_VISIBLE_DEVICES=0 ++ CHECKPOINT_PATH=/home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 ++ DATASET_DIR=/home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/datasets/mydata/ ++ python test_seglink.py --checkpoint_path=/home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 --gpu_memory_fraction=-1 --seg_conf_threshold=0.8 --link_conf_threshold=0.5 --dataset_dir=/home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/datasets/mydata/ Traceback (most recent call last): File "/usr/lib/python2.7/logging/init.py", line 851, in emit msg = self.format(record) File "/usr/lib/python2.7/logging/init.py", line 724, in format return fmt.format(record) File "/usr/lib/python2.7/logging/init.py", line 464, in format record.message = record.getMessage() File "/usr/lib/python2.7/logging/init.py", line 328, in getMessage msg = msg % self.args TypeError: not all arguments converted during string formatting Logged from file tf_logging.py, line 82 2017-10-31 12:01:50.254090: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 12:01:50.254103: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 12:01:50.254106: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 12:01:50.254109: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 12:01:50.254112: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 12:01:50.292720: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:893] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero

idefix92 commented 7 years ago

I supposed it can be an issue about my Python version. Which is the version you are using :) ?

dengdan commented 7 years ago

TypeError: not all arguments converted during string formatting

This error is minor and won't stop the running. Please paste the other error log here.

idefix92 commented 7 years ago

Uff. It will be huge. Thanks though for your valuable time!

Logged from file tf_logging.py, line 82 2017-10-31 13:30:48.764330: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 13:30:48.764343: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 13:30:48.764349: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 13:30:48.764353: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 13:30:48.764358: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations. 2017-10-31 13:30:48.799010: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:893] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero 2017-10-31 13:30:48.799229: I tensorflow/core/common_runtime/gpu/gpu_device.cc:955] Found device 0 with properties: name: GeForce GTX 760 major: 3 minor: 0 memoryClockRate (GHz) 1.0715 pciBusID 0000:01:00.0 Total memory: 1.95GiB Free memory: 1.29GiB 2017-10-31 13:30:48.799245: I tensorflow/core/common_runtime/gpu/gpu_device.cc:976] DMA: 0 2017-10-31 13:30:48.799250: I tensorflow/core/common_runtime/gpu/gpu_device.cc:986] 0: Y 2017-10-31 13:30:48.799258: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1045] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 760, pci bus id: 0000:01:00.0) INFO:tensorflow:Restoring parameters from /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.409930: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.410065: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.410203: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.410712: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.410785: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.410892: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411039: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411145: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411215: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411302: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411321: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411392: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411454: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411485: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411566: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411591: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411629: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411669: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411738: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411772: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411826: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411867: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411929: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.411968: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412032: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412088: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412147: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412187: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412251: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412298: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412342: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412399: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412432: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412494: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412512: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412573: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412616: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412654: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412690: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412749: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412809: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412883: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412923: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412948: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.412982: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413024: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413081: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413101: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413154: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413204: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413250: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413309: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413340: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413394: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413436: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413480: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413531: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413550: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413639: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413673: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413704: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413763: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413805: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413871: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413934: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.413971: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414056: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414082: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414132: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414168: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414244: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414264: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414322: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414370: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414418: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414453: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414501: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414565: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414608: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414649: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414704: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414770: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414801: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414841: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414885: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414928: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.414978: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.415023: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.415068: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.415112: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.415171: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 2017-10-31 13:30:49.415185: W tensorflow/core/framework/op_kernel.cc:1192] Not found: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 Traceback (most recent call last): File "test_seglink.py", line 155, in tf.app.run() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "test_seglink.py", line 151, in main eval() File "test_seglink.py", line 116, in eval saver.restore(sess, checkpoint) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1560, in restore {self.saver_def.filename_tensor_name: save_path}) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 895, in run run_metadata_ptr) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1124, in _run feed_dict_tensor, options, run_metadata) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1321, in _do_run options, run_metadata) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1340, in _do_call raise type(e)(node_def, op, message) tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 [[Node: save/RestoreV2_23 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_23/tensor_names, save/RestoreV2_23/shape_and_slices)]] [[Node: save/RestoreV2_56/_73 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_260_save/RestoreV2_56", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]()]]

Caused by op u'save/RestoreV2_23', defined at: File "test_seglink.py", line 155, in tf.app.run() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/platform/app.py", line 48, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "test_seglink.py", line 151, in main eval() File "test_seglink.py", line 107, in eval saver = tf.train.Saver() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1140, in init self.build() File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1172, in build filename=self._filename) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 688, in build restore_sequentially, reshape) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 407, in _AddRestoreOps tensors = self.restore_op(filename_tensor, saveable, preferred_shard) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 247, in restore_op [spec.tensor.dtype])[0]) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/ops/gen_io_ops.py", line 663, in restore_v2 dtypes=dtypes, name=name) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/op_def_library.py", line 767, in apply_op op_def=op_def) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2630, in create_op original_op=self._default_original_op, op_def=op_def) File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1204, in init self._traceback = self._graph._extract_stack() # pylint: disable=protected-access

NotFoundError (see above for traceback): Unsuccessful TensorSliceReader constructor: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 [[Node: save/RestoreV2_23 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_23/tensor_names, save/RestoreV2_23/shape_and_slices)]] [[Node: save/RestoreV2_56/_73 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/gpu:0", send_device="/job:localhost/replica:0/task:0/cpu:0", send_device_incarnation=1, tensor_name="edge_260_save/RestoreV2_56", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/gpu:0"]()]]

idefix92 commented 7 years ago

command for error above: ~/Desktop/A_M-arbeit/G_Code/E_seglink$ ./scripts/test.sh 0 ~/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750 ~/Desktop/A_M-arbeit/G_Code/E_seglink/datasets/mydata/

dengdan commented 7 years ago

The error is obvious: Failed to find any matching files for /home.net/vs17dow/Desktop/A_M-arbeit/G_Code/E_seglink/models/seglink/model.ckpt-136750. Please do make sure that the ckpt file is in the given path.

idefix92 commented 7 years ago

Dear @dengdan, I made everything new and now it worked! Thank you very much for your time.