AttributeError: 'str' object has no attribute 'copy'
seongkyun opened this issue · 3 comments
sorry buddy :)
now, I got an another problem.
I wrote
$ python network/YOLO_small_tf.py -fromfile "person.jpg" -tofile_img "person_out.jpg"
and prints out
Traceback (most recent call last):
File "network/YOLO_small_tf.py", line 516, in
yolo = YOLO_TF(sys.argv)
File "network/YOLO_small_tf.py", line 67, in init
self.detect_from_file(self.fromfile)
File "network/YOLO_small_tf.py", line 242, in detect_from_file
self.show_results(filename, self.result)
File "network/YOLO_small_tf.py", line 300, in show_results
img_cp = img.copy()
AttributeError: 'str' object has no attribute 'copy'
my tensorflow version is R1.0.1
help me plz.
Try with the new changes.
Thanks,
Dani
Thank you. It perfectly works!!
best regards, @dshahrokhian !