Having this issue when converting training to inference. May be a separate issue from previously posted issue #1372 as I did not have a problem while training the model.
Result:
Traceback (most recent call last): File "path\keras-retinanet\keras_retinanet\bin\convert_model.py", line 31, in <module> from ..utils.config import read_config_file, parse_anchor_parameters File "path\keras-retinanet\keras_retinanet\bin\..\..\keras_retinanet\utils\config.py", line 19, in <module> import keras ImportError: No module named keras
Having this issue when converting training to inference. May be a separate issue from previously posted issue #1372 as I did not have a problem while training the model.
Command
path\keras-retinanet\keras_retinanet\bin>convert_model.py path\models\train_36.h5 path\TAR_retinanet\models\infer_36.h5
Result:
Traceback (most recent call last): File "path\keras-retinanet\keras_retinanet\bin\convert_model.py", line 31, in <module> from ..utils.config import read_config_file, parse_anchor_parameters File "path\keras-retinanet\keras_retinanet\bin\..\..\keras_retinanet\utils\config.py", line 19, in <module> import keras ImportError: No module named keras
Originally posted by @TimNagle-McNaughton in https://github.com/fizyr/keras-retinanet/issues/1372#issuecomment-645678679