我已经训练了一个模型并生成了其推理图。当我尝试在单张图像上对其进行测试时,出现此错误
> Traceback (most recent call last): File
> "C:\tensorflow1\models\research\object_detection\Object_detection_image.py",
> line 98, in <module>
> feed_dict={image_tensor: image_expanded}) File "C:\Users\Hamada Fathy\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\client\session.py",
> line 877, in run
> run_metadata_ptr) File "C:\Users\Hamada Fathy\Anaconda3\envs\tensorflow1\lib\site-packages\tensorflow\python\client\session.py",
> line 1069, in _run
> np_val = np.asarray(subfeed_val, dtype=subfeed_dtype) File "C:\Users\Hamada
> Fathy\Anaconda3\envs\tensorflow1\lib\site-packages\numpy\core\numeric.py",
> line 492, in asarray
> return array(a, dtype, copy=False, order=order) TypeError: int() argument must be a string, a bytes-like object or a number, not
> 'NoneType'