File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
research/deeplab/datasets Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -51,19 +51,20 @@ download_and_uncompress() {
51
51
wget -nd -c " ${BASE_URL} /${FILENAME} "
52
52
fi
53
53
echo " Uncompressing ${FILENAME} "
54
- tar -xf " ${FILENAME} "
54
+ sudo apt install unzip
55
+ unzip " ${FILENAME} "
55
56
}
56
57
57
58
# Download the images.
58
- BASE_URL=" http ://host.robots.ox.ac.uk/pascal/VOC/voc2012 /"
59
- FILENAME=" VOCtrainval_11-May-2012.tar "
59
+ BASE_URL=" https ://data.deepai.org /"
60
+ FILENAME=" PascalVOC2012.zip "
60
61
61
62
download_and_uncompress " ${BASE_URL} " " ${FILENAME} "
62
63
63
64
cd " ${CURRENT_DIR} "
64
65
65
66
# Root path for PASCAL VOC 2012 dataset.
66
- PASCAL_ROOT=" ${WORK_DIR} /VOCdevkit/ VOC2012"
67
+ PASCAL_ROOT=" ${WORK_DIR} /VOC2012"
67
68
68
69
# Remove the colormap in the ground truth annotations.
69
70
SEG_FOLDER=" ${PASCAL_ROOT} /SegmentationClass"
You can’t perform that action at this time.
0 commit comments