API object detection error for multi-object detection
when i execute this instruction python3 legacy/train.py --logtostderr --train_dir=training/ --pipeline_config_path=pipeline3.config
with different architecture i get this error :
Traceback (most recent call last):
File "legacy/train.py", line 184, in
@bellahcenmarwane Which architecture did you encounter this issue?
im try to working with ssd_mobilenet_v1_coco_2017_11_17 and faster_rcnn_inception_v2_coco_2018_01_28 and i get the seem error
There is a problem with your train config in your Optimizer, the manual training schedule is not necessary. If you look at the new sample configs you can modify your Optimizer to the new layout to match.
can you plz give more details
Sure, if you can post the train config section of your pipeline I can highlight the change.
Otherwise to put it a bit more concretely, in the train_config: {}
Where you have your optimizer {} if you have something like this:
schedule {
step: 0
learning_rate: .0001
}
You need to remove it in the newer versions of object detection. You can find more information here #3794
i try to change Learning_rate but it not work for me
If you could post your train config I will post the fix.
Alternatively pull the newest configs from the samples folder and use one of those, or check the other thread for perhaps better explanation.
Essentially:
If you delete the schedule {...} you should be able to use that config.
@twhitloc is correct that schedule block needs to be removed and learning rate has to specified separately in the config file.