update ZIP for imagenet

This commit is contained in:
Xuanyi Dong
2019-04-02 14:58:25 +08:00
parent b836c17eb6
commit 3f483c37e7
4 changed files with 32 additions and 17 deletions

View File

@@ -27,7 +27,9 @@ else
echo "Unzip ILSVRC2012"
tar --version
#tar xf ./hadoop-data/ILSVRC2012.tar -C ${TORCH_HOME}
${PY_C} ./data/decompress.py ./hadoop-data/ILSVRC2012-TAR ./data/data/ILSVRC2012 5 | bash
#${PY_C} ./data/decompress.py ./hadoop-data/ILSVRC2012-TAR ./data/data/ILSVRC2012 tar > ./data/data/get_imagenet.sh
${PY_C} ./data/decompress.py ./hadoop-data/ILSVRC2012-ZIP ./data/data/ILSVRC2012 zip > ./data/data/get_imagenet.sh
bash ./data/data/get_imagenet.sh
echo "Unzip ILSVRC2012 done"
fi