Skip to content

How do i fix this? #94

Open
Open
@Mahibro

Description

@Mahibro

:~/yolo_tensorflow$ python train.py
WARNING:tensorflow:From /home/g5cdevs_gcp/yolo_tensorflow/yolo/yolo_net.py:186: calling reduce_max (from tensorflow.python.ops.math_ops) with keep_dims is deprecated and will be removed in a future version.
Instructions for updating:
keep_dims is deprecated, use keepdims instead
Processing gt_labels from: data/pascal_voc/VOCdevkit/VOC2007
Traceback (most recent call last):
File "train.py", line 164, in
main()
File "train.py", line 152, in main
pascal = pascal_voc('train')
File "/home/g5cdevs_gcp/yolo_tensorflow/utils/pascal_voc.py", line 26, in init
self.prepare()
File "/home/g5cdevs_gcp/yolo_tensorflow/utils/pascal_voc.py", line 57, in prepare
gt_labels = self.load_labels()
File "/home/g5cdevs_gcp/yolo_tensorflow/utils/pascal_voc.py", line 102, in load_labels
label, num = self.load_pascal_annotation(index)
File "/home/g5cdevs_gcp/yolo_tensorflow/utils/pascal_voc.py", line 138, in load_pascal_annotation
cls_ind = self.class_to_ind[obj.find('name').text.lower().strip()]
KeyError: 'metacarpals'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions