Open Daremitsu1 opened 2 years ago
Is this error resolved? I am also facing the same problem!
Is this error resolved? I am also facing this issue.
AttributeError: module 'object_detection.protos.faster_rcnn_pb2' has no attribute 'AttentionPosition'
I am also getting the same error , please do help me.
still getting error conda environment Python 3.10.14 Tensorflow Version: 2.13.1 object_detection Version: 0.1
testing the object_detection installation
python object_detection/builders/model_builder_tf1_test.py
While trying to run the following code:-
import os
import tensorflow as tf
from object_detection.utils import label_map_util
from object_detection.utils import visualization_utils as viz_utils
from object_detection.builders import model_builder
from object_detection.utils import config_util
I am getting the following error:-
I went through the context_rcnn_meta_arch.py and seems like the attribute called 'AttentionPosition' is not present.
I have also
cd models/research
intoC:\Users\USER\anaconda3\envs\anprsys\Lib\site-packages\models\research\
and also pasted the protoc.exe and ranprotoc object_detection/protos/*.proto --python_out=.
I am using Python version 3.9 with this project(since for Python 3.10 I was getting a sentencepiece error) and my tensorflow version is 2.8.0.
Please help regarding this problem.