Coder Social home page Coder Social logo

realtimeautomaticnumberplaterecognition's People

Contributors

nicknochnack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

realtimeautomaticnumberplaterecognition's Issues

images archive (train, test) seems missing in 3. Create TF records

It seems missing, please give the archive.tar.gz url address, and download (wget) it.
if versions of tensorflow or numpy are not compatible, I can re-install/upgrade.
in 6. Train the model, {command}, it doesn't go ahead.
I am running on Colab.
sometimes it reminders 'Restart runtime' after installment, so I press it, then it may lose os, then I have to re-run first 4 cells, import os, files, paths cells.
Thanks.

Out of date versions

Hello I was trying to follow your tutorial on this one, although I'm running into a bunch of problems due to new versions being deployed, and I can't get the versions you use on your notebook, could you please update the notebook, or explain what we have to do in order to use it?

Thanks and great tutorials!

ValueError

ValueError Traceback (most recent call last)
Cell In[55], line 10
7 image_np = np.array(frame)
9 input_tensor = tf.convert_to_tensor(np.expand_dims(image_np, 0), dtype=tf.float32)
---> 10 detections = detect_fn(input_tensor)
12 num_detections = int(detections.pop('num_detections'))
13 detections = {key: value[0, :num_detections].numpy()
14 for key, value in detections.items()}

File ~\anaconda3\envs\anprtf\lib\site-packages\tensorflow\python\util\traceback_utils.py:153, in filter_traceback..error_handler(*args, **kwargs)
151 except Exception as e:
152 filtered_tb = _process_traceback_frames(e.traceback)
--> 153 raise e.with_traceback(filtered_tb) from None
154 finally:
155 del filtered_tb

File ~\anaconda3\envs\anprtf\lib\site-packages\tensorflow\python\framework\func_graph.py:1129, in func_graph_from_py_func..autograph_handler(*args, **kwargs)
1127 except Exception as e: # pylint:disable=broad-except
1128 if hasattr(e, "ag_error_metadata"):
-> 1129 raise e.ag_error_metadata.to_exception(e)
1130 else:
1131 raise

ValueError: in user code:

File "C:\Users\rites\AppData\Local\Temp\ipykernel_16796\1007919961.py", line 11, in detect_fn  *
    image, shapes = detection_model.preprocess(image)
File "C:\Users\rites\anaconda3\envs\anprtf\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection\meta_architectures\ssd_meta_arch.py", line 485, in preprocess  *
    normalized_inputs, self._image_resizer_fn)
File "C:\Users\rites\anaconda3\envs\anprtf\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection\utils\shape_utils.py", line 492, in resize_images_and_return_shapes  *
    outputs = static_or_dynamic_map_fn(
File "C:\Users\rites\anaconda3\envs\anprtf\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection\utils\shape_utils.py", line 246, in static_or_dynamic_map_fn  *
    outputs = [fn(arg) for arg in tf.unstack(elems)]
File "C:\Users\rites\anaconda3\envs\anprtf\lib\site-packages\object_detection-0.1-py3.8.egg\object_detection\core\preprocessor.py", line 3330, in resize_image  *
    new_image = tf.image.resize_images(

ValueError: 'images' must have either 3 or 4 dimensions.

KeyError : 'licence'

When I was running the Training and Detection.py file and creating the TF records.. I got this error called KeyError: 'license' .. Could you please help with it..

Traceback (most recent call last):
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 168, in
tf.app.run()
File "D:\ANPR\anprsys\lib\site-packages\tensorflow\python\platform\app.py", line 36, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 312, in run
_run_main(main, args)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 258, in _run_main
sys.exit(main(argv))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 158, in main
tf_example = create_tf_example(group, path)
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 132, in create_tf_example
classes.append(class_text_to_int(row['class']))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 101, in class_text_to_int
return label_map_dict[row_label]
KeyError: 'licence'
Traceback (most recent call last):
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 168, in
tf.app.run()
File "D:\ANPR\anprsys\lib\site-packages\tensorflow\python\platform\app.py", line 36, in run
_run(main=main, argv=argv, flags_parser=_parse_flags_tolerate_undef)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 312, in run
_run_main(main, args)
File "D:\ANPR\anprsys\lib\site-packages\absl\app.py", line 258, in _run_main
sys.exit(main(argv))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 158, in main
tf_example = create_tf_example(group, path)
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 132, in create_tf_example
classes.append(class_text_to_int(row['class']))
File "D:\ANPR\Tensorflow\scripts\generate_tfrecord.py", line 101, in class_text_to_int
return label_map_dict[row_label]
KeyError: 'licence'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.