python - TypeError: __init__(): incompatible constructor arguments - Stack Overflow

I have trained a model ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8 in tensorflow api but when trainin

I have trained a model ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8 in tensorflow api but when training the model, I have an error message:

TypeError: __init__(): incompatible constructor arguments. The following argument types are supported:
    1. tensorflow.python.lib.io._pywrap_file_io.BufferedInputStream(filename: str, buffer_size: int, token: tensorflow.python.lib.io._pywrap_file_io.TransactionToken = None)

Invoked with: None, 524288

This is my code to train the model:

python "C:\Users\admin\miniconda3\envs\tf\models\research\object_detection\model_main_tf2.py" 
--model_dir="C:\Users\admin\miniconda3\envs\tf\Scripts\ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8 (1)" 
--pinepip_path="C:\Users\admin\miniconda3\envs\tf\Scripts\ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8 (1)\ssd_mobilenet_v2_fpnlite_320x320_coco17_tpu-8\pipeline.config"

Link to my data: [link].git

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745096729a4611024.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信