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

detect.py error #8

Open
ganbaaelmer opened this issue Sep 20, 2019 · 0 comments
Open

detect.py error #8

ganbaaelmer opened this issue Sep 20, 2019 · 0 comments

Comments

@ganbaaelmer
Copy link

ganbaaelmer commented Sep 20, 2019

i run this code on anaconda prompt (gputest) C:\anpr>python detect.py in.jpg CPUweights.npz out.jpg

but result is not good it cant detect number plate.

C:\Users\USER\Anaconda3\envs\gputest\python.exe C:/anpr/detect.py in.jpg CPUweights.npz out.jpg
detect start! 2019-09-20 18:05:17
WARNING: Logging before flag parsing goes to stderr.
W0920 18:05:18.790101 5212 deprecation_wrapper.py:119] From C:\anpr\model.py:66: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.

W0920 18:05:18.805099 5212 deprecation_wrapper.py:119] From C:\anpr\model.py:38: The name tf.truncated_normal is deprecated. Please use tf.random.truncated_normal instead.

W0920 18:05:18.821054 5212 deprecation_wrapper.py:119] From C:\anpr\model.py:53: The name tf.nn.max_pool is deprecated. Please use tf.nn.max_pool2d instead.

W0920 18:05:18.879891 5212 deprecation_wrapper.py:119] From C:/anpr/detect.py:74: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.

W0920 18:05:18.879891 5212 deprecation_wrapper.py:119] From C:/anpr/detect.py:74: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.

2019-09-20 18:05:18.880629: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2019-09-20 18:05:18.883008: I tensorflow/stream_executor/platform/default/dso_loader.cc:42] Successfully opened dynamic library nvcuda.dll
2019-09-20 18:05:19.736113: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1640] Found device 0 with properties:
name: GeForce GTX 1060 with Max-Q Design major: 6 minor: 1 memoryClockRate(GHz): 1.3415
pciBusID: 0000:01:00.0
2019-09-20 18:05:19.736387: I tensorflow/stream_executor/platform/default/dlopen_checker_stub.cc:25] GPU libraries are statically linked, skip dlopen check.
2019-09-20 18:05:19.740699: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1763] Adding visible gpu devices: 0
2019-09-20 18:05:20.417788: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1181] Device interconnect StreamExecutor with strength 1 edge matrix:
2019-09-20 18:05:20.417989: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1187] 0
2019-09-20 18:05:20.418093: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1200] 0: N
2019-09-20 18:05:20.418826: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1326] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4712 MB memory) -> physical GPU (device: 0, name: GeForce GTX 1060 with Max-Q Design, pci bus id: 0000:01:00.0, compute capability: 6.1)
W0920 18:05:27.350435 5212 deprecation_wrapper.py:119] From C:/anpr/detect.py:83: The name tf.summary.FileWriter is deprecated. Please use tf.compat.v1.summary.FileWriter instead.

show result:
detect end 2019-09-20 18:05:27

Process finished with exit code 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