Skip to content

Croissant Builder does not allow partial versions without minor (e.g. {x.y}) #11047

Closed
@stefanches7

Description

@stefanches7

/!\ PLEASE INCLUDE THE FULL STACKTRACE AND CODE SNIPPET

Short description
Invalid version '1.0'. Format should be x.y.z with {x,y,z} being numbers without leading zeros.
See mlcommons/croissant#861

Environment information

  • Operating System: win 11 pro

  • Python version: 3.12.9

  • tensorflow-datasets/tfds-nightly version: 4.9.8

  • tensorflow/tf-nightly version: 2.19.0

  • Does the issue still exists with the last `

tfds-nightly package (pip install --upgrade tfds-nightly`) ? yes

Reproduction instructions

export-dara.json

mport tensorflow_datasets as tfds
import mlcroissant as mlc


builder = tfds.dataset_builders.CroissantBuilder(
    jsonld="export-dara.json"
 )
builder.download_and_prepare()

If you share a colab, make sure to update the permissions to share it.

Link to logs

Image

Expected behavior
Not fail and accept 1.0

Additional context
See mlcommons/croissant#861

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions