Traceback (most recent call last):
File "D:\software\Python\project\faster_rcnn\predict-dianchi.py", line 152, in
main()
File "D:\software\Python\project\faster_rcnn\predict-dianchi.py", line 103, in main
plot_img = draw_objs(original_img,
File "D:\software\Python\project\faster_rcnn\draw_box_utils.py", line 146, in draw_objs
draw.line([(left, top), (left, bottom), (right, bottom),
File "D:\software\Anaconda\envs\pytorch\lib\site-packages\PIL\ImageDraw.py", line 172, in line
ink = self._getink(fill)[0]
File "D:\software\Anaconda\envs\pytorch\lib\site-packages\PIL\ImageDraw.py", line 130, in _getink
ink = self.draw.draw_ink(ink)
TypeError: color must be int or single-element tuple
Traceback (most recent call last): File "D:\software\Python\project\faster_rcnn\predict-dianchi.py", line 152, in
main()
File "D:\software\Python\project\faster_rcnn\predict-dianchi.py", line 103, in main
plot_img = draw_objs(original_img,
File "D:\software\Python\project\faster_rcnn\draw_box_utils.py", line 146, in draw_objs
draw.line([(left, top), (left, bottom), (right, bottom),
File "D:\software\Anaconda\envs\pytorch\lib\site-packages\PIL\ImageDraw.py", line 172, in line
ink = self._getink(fill)[0]
File "D:\software\Anaconda\envs\pytorch\lib\site-packages\PIL\ImageDraw.py", line 130, in _getink
ink = self.draw.draw_ink(ink)
TypeError: color must be int or single-element tuple