1
$\begingroup$

I use a modified training script for modeling images with Tensorflow/Keras/Mobilenet_V2. After a few errors that I could solve I now get the following error:

File "/home/Machine_Learning_Verstening/scripts/object_detection/builders/model_builder.py", line 234, in _build_ssd_model
    freeze_batchnorm=ssd_config.freeze_batchnorm,
AttributeError: 'Ssd' object has no attribute 'freeze_batchnorm'

Within this script I see the following pieces of code:

freeze_batchnorm=ssd_config.freeze_batchnorm                     
freeze_batchnorm=ssd_config.freeze_batchnorm  
freeze_batchnorm=ssd_config.freeze_batchnorm

On google I cannot find the solution, I guess it is very specific for using the SSD in Tensorflow. Anyone has experience with this error?

$\endgroup$

closed as off-topic by Ben N Dec 12 '18 at 22:20

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not appear to be about artificial intelligence, within the scope defined in the help center." – Ben N
If this question can be reworded to fit the rules in the help center, please edit the question.

0
$\begingroup$

The problem disappeared when I: - Changed Pandas from version 0.22 back to 0.23.4 by: conda install pandas==0.23.4 - Added in the train script import pandas import pandas.core import pandas.core.ops - Used version 3.0 of protobuf to transform the .proto files into pb2.py

The error might have come up because I used a wrong version of protobuf to protoc the .proto files. Now the model_builder test is working.

$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.