Python Forum

Full Version: TensorFlow problem in Object Detection
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi readers,
I was working on Object Detection Application. The source code for which is available on GitHub.
Solved a lot but now left with these issues. Please help me solving it out.

Error:
Traceback (most recent call last): File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\font_manager.py", line 1353, in <module> fontManager = json_load(_fmcache) File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\font_manager.py", line 888, in json_load with open(filename, 'r') as fh: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\A B\\.matplotlib\\fontlist-v300.json' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "D:/Projects/Python/tf_object_detection/models/research/object_detection/object_detection_tutorial.py", line 22, in <module> from matplotlib import pyplot as plt File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\pyplot.py", line 32, in <module> import matplotlib.colorbar File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\colorbar.py", line 32, in <module> import matplotlib.contour as contour File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\contour.py", line 18, in <module> import matplotlib.font_manager as font_manager File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\font_manager.py", line 1363, in <module> _rebuild() File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\font_manager.py", line 1344, in _rebuild fontManager = FontManager() File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\font_manager.py", line 978, in __init__ ttffiles = findSystemFonts(paths) + findSystemFonts() File "D:\Projects\Python\tf_object_detection\venv\lib\site-packages\matplotlib\font_manager.py", line 264, in findSystemFonts fontfiles.update(win32InstalledFonts(fontext=fontext)) TypeError: 'NoneType' object is not iterable
Quote: The source code for which is available on GitHub.
Most of us will not go chasing down code.
If on GitHub, ask the author first.