Skip to content

Commit

Permalink
Added command to untar waymo dataset files (#274)
Browse files Browse the repository at this point in the history
* Added command to untar waymo dataset files

* Clean run-mobilenet-models code
  • Loading branch information
arjunsuresh authored Feb 25, 2025
1 parent 231a219 commit 72fbb7a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion script/get-dataset-waymo/run-rclone.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
cmd="rclone sync mlc-waymo:waymo_preprocessed_dataset/kitti_format ${MLC_DATASET_WAYMO_PATH} -P"
echo $cmd
eval $cmd
test $? -eq 0 || exit $?
test $? -eq 0 || exit $?
cd ${MLC_DATASET_WAYMO_PATH}/kitti_format/training
for f in *.tar.gz; do tar -xzvf "$f"; done
cd -
2 changes: 2 additions & 0 deletions script/run-mlperf-inference-mobilenet-models/customize.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def preprocess(i):
if r['return'] > 0:
print(r)
# return r
else:
importlib.reload(mlc.action)

if is_true(env.get('MLC_TEST_ONE_RUN', '')):
return {'return': 0}
Expand Down

0 comments on commit 72fbb7a

Please sign in to comment.