TypeError: predict() missing 1 required positional argument: 'true_image_shapes'
When I tried to export the pb file from the trained model:ckpt files , I met this problem the code i typed in are
python object_detection/export_inference_graph.py
--input_type image_tensor
--pipeline_config_path object_detection/pbfile/faster_rcnn_resnet101_voc07.config
--trained_checkpoint_prefix object_detection/ckpt/tiny-yolo-voc-125
--output_directory output_inference_graph.pb
and the errors are
/home/cmm/anaconda3/lib/python3.6/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 "object_detection/export_inference_graph.py", line 147, in
From https://github.com/tensorflow/models/blob/master/research/object_detection/exporter.py#L324, it seems that the code has a different interface than your stack trace. Can you check your local Git repository and make sure the code is up to date?
Thanks.
Closing this issue as working as intended. Feel free to reopen it if you still hit any issue.