Traceback (most recent call last):


 "C:\Users\brcan\AppData\Roaming\Python\Python36\site-packages\pipenv\core.py", line 2107, in do_shell

c = pexpect.spawn(
AttributeError: module 'pexpect' has no attribute 'spawn'

Traceback (most recent call last):


 "train.py", line 42, in prefetch_data

data, ind = sample_data(db, ind, data_aug=data_aug)


 "/home/gosuncn/detection/CornerNet-master/sample/coco.py", line 182, in sample_data

return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)


 "/home/gosuncn/detection/CornerNet-master/sample/coco.py", line 96, in kp_detection

image, detections = random_crop(image, detections, rand_scales, input_size, border=border)


 "/home/gosuncn/detection/CornerNet-master/sample/utils.py", line 57, in random_crop

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