Description
The Project was running fine till i updated to tensorflow 1.5 and the project to latest commit.
After updating i am getting this error.
(base) H:\Work\AR\TensorFlow\Source\paperspace-tensorflow\project\tf_1042018\research\object_detection>python train.py --logstderr --train_dir=training/ --pipeline_config_path=training/ssd_mobilenet_v1_coco.config
E:\Programs\Anaconda\lib\site-packages\h5py_init_.py:36: FutureWarning: Conversion of the second argument of issubdtype from float
to np.floating
is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type
.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "train.py", line 50, in
from object_detection.builders import input_reader_builder
File "H:\Work\AR\TensorFlow\Source\paperspace-tensorflow\project\Tensorflow_Update_27_3_2018\research\object_detection\builders\input_reader_builder.py", line 28, in
from object_detection.data_decoders import tf_example_decoder
File "H:\Work\AR\TensorFlow\Source\paperspace-tensorflow\project\Tensorflow_Update_27_3_2018\research\object_detection\data_decoders\tf_example_decoder.py", line 106, in
class TfExampleDecoder(data_decoder.DataDecoder):
File "H:\Work\AR\TensorFlow\Source\paperspace-tensorflow\project\Tensorflow_Update_27_3_2018\research\object_detection\data_decoders\tf_example_decoder.py", line 111, in TfExampleDecoder
instance_mask_type=input_reader_pb2.NUMERICAL_MASKS,
AttributeError: module 'object_detection.protos.input_reader_pb2' has no attribute 'NUMERICAL_MASKS'
Please do help me in solving the issue