YoloToTfRecords icon indicating copy to clipboard operation
YoloToTfRecords copied to clipboard

ModuleNotFoundError: No module named 'pascal_voc_writer'

Open ajayvbabu opened this issue 3 years ago • 1 comments

/Users/ajayvbabu/x/aaaa/YoloToTfRecords/pascal_voc_writer/VisDrone/0000001_02999_d_0000005.jpg Traceback (most recent call last): File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 359, in get_provider module = sys.modules[moduleOrReq] KeyError: 'pascal_voc_writer'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "YoloToTfRecords/pascal_voc_writer/init.py", line 142, in parse_yolo_labels(images_list_file_name=trainFiles,classes=classes) File "YoloToTfRecords/pascal_voc_writer/init.py", line 88, in parse_yolo_labels writer = Writer(imageFile, width=width, height=height) File "YoloToTfRecords/pascal_voc_writer/init.py", line 7, in init environment = Environment(loader=PackageLoader('pascal_voc_writer', 'templates'), keep_trailing_newline=True) File "/Users/ajayvbabu/Library/Python/3.7/lib/python/site-packages/jinja2/loaders.py", line 237, in init provider = get_provider(package_name) File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/lib/python3.7/site-packages/pkg_resources/init.py", line 361, in get_provider import(moduleOrReq) ModuleNotFoundError: No module named 'pascal_voc_writer'

ajayvbabu avatar Jul 31 '20 16:07 ajayvbabu