I'm trying to run:
protoc *.proto -python_out=.
in the protoc directory inside of tensorflow > models > research > object_detection > protos, and it returns
object_detection/protos/flexible_grid_anchor_generator.proto: File not found.
object_detection/protos/grid_anchor_generator.proto: File not found.
object_detection/protos/multiscale_anchor_generator.proto: File not found.
object_detection/protos/ssd_anchor_generator.proto: File not found.
anchor_generator.proto: Import "object_detection/protos/flexible_grid_anchor_generator.proto" was not found or had errors.
anchor_generator.proto: Import "object_detection/protos/grid_anchor_generator.proto" was not found or had errors.
anchor_generator.proto: Import "object_detection/protos/multiscale_anchor_generator.proto" was not found or had errors.
anchor_generator.proto: Import "object_detection/protos/ssd_anchor_generator.proto" was not found or had errors.
anchor_generator.proto:14:5: "GridAnchorGenerator" is not defined.
anchor_generator.proto:15:5: "SsdAnchorGenerator" is not defined.
anchor_generator.proto:16:5: "MultiscaleAnchorGenerator" is not defined.
anchor_generator.proto:17:5: "FlexibleGridAnchorGenerator" is not defined.
But it seems to me that those files are definitely there?
Thanks for your patience and time.
edit: I also tried using absolute paths
protoc /home/usr/.virtualenvs/capstone/lib/python3.8/site-packages/tensorflow/models/research/object_detection/protos/*.proto --python_out=/home/usr/.virtualenvs/capstone/lib/python3.8/site-packages/tensorflow/models/research/object_detection/protos
I receive the same error