https://drive.google.com/open?id=12xP1Ll4UeI4tt7Cq0P9dtaSPCF_sqOoh 2

This is the program I am trying to build and I am not using cuda anywhere because I have MacBook air which can not support cuda. Can anyone help me with what is the problem that it is showing a CUDA error??
the error is generated     input_img = Variable(image_tensor.type(Tensor)) i.e in line 20 of detect_image(img)