Skip to content

Commit 72fbb7a

Browse files
authored
Added command to untar waymo dataset files (#274)
* Added command to untar waymo dataset files * Clean run-mobilenet-models code
1 parent 231a219 commit 72fbb7a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
cmd="rclone sync mlc-waymo:waymo_preprocessed_dataset/kitti_format ${MLC_DATASET_WAYMO_PATH} -P"
22
echo $cmd
33
eval $cmd
4-
test $? -eq 0 || exit $?
4+
test $? -eq 0 || exit $?
5+
cd ${MLC_DATASET_WAYMO_PATH}/kitti_format/training
6+
for f in *.tar.gz; do tar -xzvf "$f"; done
7+
cd -

script/run-mlperf-inference-mobilenet-models/customize.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ def preprocess(i):
200200
if r['return'] > 0:
201201
print(r)
202202
# return r
203+
else:
204+
importlib.reload(mlc.action)
203205

204206
if is_true(env.get('MLC_TEST_ONE_RUN', '')):
205207
return {'return': 0}

0 commit comments

Comments
 (0)