GithubHelp home page GithubHelp logo

Comments (1)

XiaLiPKU avatar XiaLiPKU commented on July 24, 2024 1

Hi, I followed https://doc.bdd100k.com/evaluate.html#detection to save my prediction results in the correct format but I get the following error when running bdd100k.eval.run:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/opt/conda/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/home/env/lib/python3.7/site-packages/scalabel/common/parallel.py", line 30, in run
    q_out.put((i, func(x[0])))
  File "/home/env/lib/python3.7/site-packages/scalabel/label/io.py", line 18, in parse
    return Frame(**humps.decamelize(raw_frame))
  File "/home/env/lib/python3.7/site-packages/scalabel/label/typing.py", line 96, in __init__
    super().__init__(**data)
  File "pydantic/main.py", line 400, in pydantic.main.BaseModel.__init__
pydantic.error_wrappers.ValidationError: 100 validation errors for Frame
labels -> 0 -> id
  field required (type=value_error.missing)
labels -> 1 -> id
  field required (type=value_error.missing)
labels -> 2 -> id
  field required (type=value_error.missing)
labels -> 3 -> id
  field required (type=value_error.missing)
labels -> 4 -> id
  field required (type=value_error.missing)
labels -> 5 -> id

The issue seems that each label should also have an id. What should this id be set to?

Thanks for your informing. That's really a bug.
We updated our documents yesterday, and you can find them here: https://doc.bdd100k.com/evaluate.html#submission-format
For the. detection task, you can safely generate random str for the 'id' field.
It is only used for JSON loading and parsing, and will not influence the evaluation process

from bdd100k.

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.