update_scripts_benchmark

pull/1469/head
hysunflower 2021-11-24 02:43:45 +00:00
parent b2d80a7a53
commit f44a718ce9
1 changed files with 11 additions and 0 deletions

View File

@ -1,6 +1,17 @@
#!/bin/bash
dataset_url=$1
package_check_list=(imageio tqdm Cython pycocotools tb_paddle scipy pandas wget h5py sklearn opencv-python visualdl)
for package in ${package_check_list[@]}; do
if python -c "import ${package}" >/dev/null 2>&1; then
echo "${package} have already installed"
else
echo "${package} NOT FOUND"
pip install ${package}
echo "${package} installed"
fi
done
cd dataset
rm -rf ILSVRC2012
wget -nc ${dataset_url}