Giter Club home page Giter Club logo

Comments (4)

ashleyjsands avatar ashleyjsands commented on June 2, 2024

Without looking at the code, my guess it that you haven't changed the number of classes as the main difference between the two shapes is 25 and 7.

from yolo_tensorflow.

Mahibro avatar Mahibro commented on June 2, 2024

@ashleyjsands Can you tel me what i need to change?
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: 'linear'

from yolo_tensorflow.

ashleyjsands avatar ashleyjsands commented on June 2, 2024

@Mahibro I have no idea why you are getting that error. Having a guess: maybe an activation function of 'linear' is missing or not supported?

from yolo_tensorflow.

Mahibro avatar Mahibro commented on June 2, 2024

@ashleyjsands @hizhangp What all i need to make change(In files),when i create XML files for my own dataset.

from yolo_tensorflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.