!python {SCRIPTS_PATH + '/generate_tfrecord.py'} -x {IMAGE_PATH + '/train'} -l {ANNOTATION_PATH + '/label_map.pbtxt'} -o {ANNOTATION_PATH + '/train.record'}
!python {SCRIPTS_PATH + '/generate_tfrecord.py'} -x{IMAGE_PATH + '/test'} -l {ANNOTATION_PATH + '/label_map.pbtxt'} -o {ANNOTATION_PATH + '/test.record'}
when i tried to run that code, i have some errors.
error message :
from google.protobuf import runtime_version as runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf' (C:UsersVERRA HALIZZAHAppDataLocalProgramsPythonPython39libsite-packagesgoogleprotobuf__init__.py)
how to solve this?
im using tensorflow 2.10.1 and protobuff 3.19.6
New contributor
Galih Raihan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.