We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executing the following command on my datumaro formatted dataset yields this unexpected behavior.
$ datum filter -e '/item[image/width < image/height]' --dry-run my-dataset 2025-01-04 10:55:45,130 ERROR: Dataset.filter() got an unexpected keyword argument 'expr' Traceback (most recent call last): File "/home/gpu/miniconda3/envs/datumaro/bin/datum", line 8, in <module> sys.exit(main()) File "/home/gpu/miniconda3/envs/datumaro/lib/python3.10/site-packages/datumaro/cli/__main__.py", line 166, in main retcode = args.command(args) File "/home/gpu/miniconda3/envs/datumaro/lib/python3.10/site-packages/datumaro/util/scope.py", line 158, in wrapped_func ret_val = func(*args, **kwargs) File "/home/gpu/miniconda3/envs/datumaro/lib/python3.10/site-packages/datumaro/cli/commands/filter.py", line 184, in filter_command dataset = dataset.filter(expr=filter_expr, **filter_args) TypeError: Dataset.filter() got an unexpected keyword argument 'expr'
Print XML representations of the filtered dataset and exit
$ datum dinfo my-dataset length: 6772 categories: label label: count: 1 labels: label1 subsets: val, train 'val': length: 980 categories: label label: count: 1 labels: label1 'train': length: 5792 categories: label label: count: 1 labels: label1
$ datum detect my-dataset Detected format: datumaro
$ python --version Python 3.10.16
$ datum --version 1.9.1
$ conda --version conda 24.4.
$ pip --version pip 24.2
The text was updated successfully, but these errors were encountered:
itrushkin
No branches or pull requests
Problem description
Executing the following command on my datumaro formatted dataset yields this unexpected behavior.
Expected behavior
Print XML representations of the filtered dataset and exit
Additional information
The text was updated successfully, but these errors were encountered: