gulvarol / bsldict

Watch, read and lookup: learning to spot signs from multiple supervisors, ACCV 2020 (Best Application Paper)
http://www.robots.ox.ac.uk/~vgg/research/bsldict/
28 stars 4 forks source link

download_bsldict_metadata.sh fails #4

Closed Umdog786 closed 1 year ago

Umdog786 commented 1 year ago

Running the shell script to download the metadata fails with a 404 error. Manually running the wget command in the terminal results in the following without the file being downloaded:

StatusCode : 200 StatusDescription : OK Content : {128, 4, 149, 4...} RawContent : HTTP/1.1 200 OK Vary: Host Upgrade: h2 Connection: Upgrade, Keep-Alive X-Content-Type-Options: nosniff X-Frame-Options: sameorigin Referrer-Policy: same-origin permissions-policy: accelerometer... Headers : {[Vary, Host], [Upgrade, h2], [Connection, Upgrade, Keep-Alive], [X-Content-Type-Options, nosniff]...} RawContentLength : 154466982

I am unsure how to get the bsldict_v1.pkl as without this I cannot use the pre-trained models

Umdog786 commented 1 year ago

Running wget https://www.robots.ox.ac.uk/~vgg/research/bsldict/data/bsldict_v1.pkl straight from cmd results in:

wget https://www.robots.ox.ac.uk/~vgg/research/bsldict/data/bsldict_v1.pkl SYSTEM_WGETRC = c:/progra~1/wget/etc/wgetrc syswgetrc = C:\Program Files (x86)\GnuWin32/etc/wgetrc --2023-04-07 11:01:33-- https://www.robots.ox.ac.uk/~vgg/research/bsldict/data/bsldict_v1.pkl Resolving www.robots.ox.ac.uk... 129.67.94.2 Connecting to www.robots.ox.ac.uk|129.67.94.2|:443... connected. Unable to establish SSL connection.

Umdog786 commented 1 year ago

I fixed this by using WSL on windows to use the linux version of the wget command. I am pretty sure it has something to do with the very old version of wget that is included with windows by default (1.11.4) compared to the version on WSL (1.21.2)