Traceback (most recent call last):


 "play.py", line 174, in <module>

AI.run()


 "play.py", line 159, in run

self.play()


 "play.py", line 145, in play

self.target_pos = self.get_target_position_fast(self.state, self.player_pos)


 "play.py", line 111, in get_target_position_fast

b1, b2 = cv2.connectedComponents(m)
AttributeError: 'module' object has no attribute 'connectedComponents'
Traceback (most recent call last):


 "test.py", line 99, in <module>

test(testing_db, args.split, args.testiter, args.debug, args.suffix)


 "test.py", line 61, in test

testing(db, nnet, result_dir, debug=debug)


 "/home/dc2-user/CornerNet-master/test/coco.py", line 204, in testing

return globals()[system_configs.sampling_function](db, nnet, result_dir, debug=debug)


 "/home/dc2-user/CornerNet-master/test/coco.py", line 77, in kp_detection

height, width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'
