To download the dataset the server check the authentication information of the cookie and confirm that the server is an authenticated user
Since it is authentication using cookie, it is necessary to acquire cookie first. This can also be done with wget
! The command is as follows.
wget --keep-session-cookies --save-cookies=cookies.txt --post-data 'username=YOUR_EMAIL&password=YOUR_PASSWORD&submit=Login' https://www.cityscapes-dataset.com/login/; history -d $((HISTCMD-1))
history -d $((HISTCMD-1))
will delete the command entry from the history.
wget --load-cookies cookies.txt --content-disposition https://www.cityscapes-dataset.com/file-handling/?packageID=PACKAGE_ID
PACKAGE_ID = 1
for gtFine
PACKAGE_ID = 3
for leftImg8bit.
from: https://github.com/reger-men/keras_multi_gpus/wiki/How-to-download-cityscapes-dataset-via-terminal