This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# download PASCAL VOC 2012 dataset | |
# | |
# ref: http://host.robots.ox.ac.uk/pascal/VOC/voc2012/index.html | |
echo "Downloading..." | |
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2012/VOCtrainval_11-May-2012.tar && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# download PASCAL VOC 2007 dataset | |
# | |
# ref: http://host.robots.ox.ac.uk/pascal/VOC/voc2007/index.html | |
echo "Downloading..." | |
wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# download MS COCO dataset | |
# | |
# ref: http://mscoco.org/dataset/#download | |
echo "Downloading..." | |
wget http://msvocds.blob.core.windows.net/annotations-1-0-3/instances_train-val2014.zip && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ref: http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/#runfile-verifications | |
/sbin/modprobe nvidia | |
if [ "$?" -eq 0 ]; then | |
# Count the number of NVIDIA controllers found. | |
NVDEVS=`lspci | grep -i NVIDIA` | |
N3D=`echo "$NVDEVS" | grep "3D controller" | wc -l` |