Traceback (most recent call last): File “A:/Faster-RCNN-TensorFlow-Python3/demo.py”, line 173, in test_net(sess, net, imdb, ‘default’) File “A:\Faster-RCNN-TensorFlow-Python3\lib\utils\test.py”, line 169, in test_net scores, boxes = im_detect(sess, net, im) File “A:\Faster-RCNN-TensorFlow-Python3\lib\utils\test.py”, line 95, in im_detect blobs, im_scales = _get_blobs(im) File “A:\Faster-RCNN-TensorFlow-Python3\lib\utils\test.py”, line 68, in _get_blobs blobs[‘data’], im_scale_factors = _get_image_blob(im) File “A:\Faster-RCNN-TensorFlow-Python3\lib\utils\test.py”, line 40, in _get_image_blob im_orig = im.astype(np.float32, copy=True) AttributeError: ‘NoneType’ object has no attribute ‘astype’
这个问题如何解决?