title: Error: in the file data/coco.names number of names 80 that isn't equal to classes=13
body: <p>I was using Google Colab to train Yolo-v3 to detect custom objects. I'm new to Colab, and darknet.</p>
  <p>I used the following command for training:</p>
  <p><code>!./darknet detector train &quot;/content/gdrive/My Drive/darknet/obj.data&quot; &quot;/content/gdrive/My Drive/darknet/cfg/yolov3-PID.cfg&quot; &quot;/content/gdrive/My Drive/darknet/backup/yolov3-PID_final.weights&quot; -dont_show</code></p>
  <p>The training finished as follows, and it didn't display any details of the epochs (I don't know how many epochs actually run). Actually, it took very short time until it displayed Done!, and saved the weights as shown in the above image
  <a href="https://i.stack.imgur.com/ZRExl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZRExl.png" alt="enter image description here" /></a></p>
  <p>Then, I tried to detect a test image with the following command:</p>
  <p><code>!./darknet detect &quot;/content/gdrive/My Drive/darknet/cfg/yolov3-PID.cfg&quot; &quot;/content/gdrive/My Drive/darknet/backup/yolov3-PID_final.weights&quot; &quot;/content/gdrive/My Drive/darknet/img/MN 111-0-515 (45).jpg&quot; -dont-show</code></p>
  <p>However, I got the following error:</p>
  <pre><code>Error: in the file data/coco.names number of names 80 that isn't equal to classes=13 in the file /content/gdrive/My Drive/darknet/cfg/yolov3-PID.cfg
  </code></pre>
  <p>Even, the resulting image didn't contain any bounding boxes, so I don't know if the training worked or not.
  <a href="https://i.stack.imgur.com/k5JAc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k5JAc.png" alt="enter image description here" /></a></p>
  <p>Could you pls advise what might be wrong with the training, and why the error is referring to coco.names, while I'm using other files for names, and configuration?</p>