AttributeError: no attribute 'shape'
Just to give some advice. You could/should describe your problem a bit more clear. I just Googled the file you mentioned yolo_opencsv.py and its part of Object detection (YOLO, SSD, Faster R-CNN) with OpenCV and Python library. It always a good idea to mention the tool/library you are using (and are having problems with) in the title. Also you could/describe the procedure and environment you are using when the error occurs. By doing so, people can try to replicate you problem and have to ask less additional questions trying to help you solve the problem.
Your error seems to indicate that the image object has not loaded properly, i.e. the return of cv2.imread(args.image) has returned None. Do you run the command from the command line as described in the README. And are you sure you image path and image format is correct?
When i run the coding in this yolo_opencv.py file :
The console shows this error:

File "", line 40, in 
     Width = image.shape[1]
  AttributeError: 'NoneType' object has no attribute 'shape'