Skip to content
New issue

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

Fix argument issue in coco2014 calibration dataset download #286

Merged
merged 3 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion script/get-dataset-coco2014/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ cache: true
category: AI/ML datasets
category_sort: 8500

input_mapping:
num_workers: MLC_DATASET_COCO2014_NUM_WORKERS

tags:
- get
- dataset
Expand All @@ -18,7 +21,8 @@ tags:

default_env:
MLC_DATASET_CALIBRATION: 'no'

MLC_DATASET_COCO2014_NUM_WORKERS: 1

deps:

- names:
Expand Down
2 changes: 1 addition & 1 deletion script/get-dataset-coco2014/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ if [[ ${MLC_DATASET_CALIBRATION} == "no" ]]; then
eval $cmd
test $? -eq 0 || exit $?
else
cmd="./download-coco-2014-calibration.sh -d ${INSTALL_DIR}"
cmd="./download-coco-2014-calibration.sh -d ${INSTALL_DIR} -n ${MLC_DATASET_COCO2014_NUM_WORKERS}"
echo $cmd
eval $cmd
test $? -eq 0 || exit $?
Expand Down
Loading