question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not reading labels from xml files

See original GitHub issue

Hi,

I am getting the following error when I call the train function:

`python train.py -c config.json Using TensorFlow backend. Seen labels: {‘lobster’: 460}

Given labels: [‘lobster’, ‘n01984695’] Some labels have no annotations! Please revise the list of labels in the config.json. Traceback (most recent call last): File “train.py”, line 280, in <module> main(args) File “train.py”, line 182, in main config[‘model’][‘labels’] ValueError: not enough values to unpack (expected 4, got 3)`

The code runs fine when I only have the lobster class in the annotations.

What might be causing this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
ghostcommented, Jun 13, 2018

No. 1 worked. The cache was the issue. Thanks a lot for the quick help!

0reactions
jithin454commented, Apr 21, 2020

AttributeError: ‘_TfDeviceCaptureOp’ object has no attribute ‘_set_device_from_string’

this is the error when i am running it. please help me to solve this

Read more comments on GitHub >

github_iconTop Results From Across the Web

xml reader not reading xml file and displaying in label
This code is supposed to read from an existing xml file, and write the contents into a label, however, it does not work,...
Read more >
Xml Data Will Not Print Out On Label - BarTender Support Portal
i am trying to setup labels to print from XML file, generated by Oracle. I have setup Commander first transform for Oracle WMS/MSCA...
Read more >
How to read tabs and labels in an XML file from SQL and PL ...
1. Create a table with an XML column: create table cagexml_col ( xmlfile_id number primary key, xmlfile_doc XMLType); · 2. Insert xml document:...
Read more >
4 Ways to Open XML - wikiHow
1. Find the XML file you want to open. XML files are encoded in plaintext, so you can open them in any text...
Read more >
Map XML elements to cells in an XML Map - Microsoft Support
To create one, you need to have an XML schema file (.xsd) and an XML data ... to use the XML element heading...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found