Lasagne / Recipes

Lasagne recipes: examples, IPython notebooks, ...
MIT License
914 stars 418 forks source link

https://s3.amazonaws.com/lasagne/recipes/pretrained/imagenet/vgg16.pkl #115

Closed Oushesh closed 5 years ago

Oushesh commented 5 years ago

When I download the .pkl format from the link: https://s3.amazonaws.com/lasagne/recipes/pretrained/imagenet/vgg16.pkl with wget I get a forbidden access ?

Is it no public? I am already registered to download images from imagenet? how do I use credentials to access the pretrained model?

ebenolson commented 5 years ago

Hi, due to some large spikes in bandwidth I've decided to make the bucket requester-pays. You can still download files using the aws cli or http://s3browser.com/

Oushesh commented 5 years ago

ok. I see. THanks for letting me know. How do I parse the url to the s3 bucket in order to download it? or do I need to register for payment in order to access the url: https://s3.amazonaws.com/lasagne/recipes /pretrained/imagenet/vgg16.pkl?

On Thu, Mar 7, 2019 at 9:51 PM Eben Olson notifications@github.com wrote:

Hi, due to some large spikes in bandwidth I've decided to make the bucket requester-pays. You can still download files using the aws cli or http://s3browser.com/

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lasagne/Recipes/issues/115#issuecomment-470689269, or mute the thread https://github.com/notifications/unsubscribe-auth/AFnHxXbA7Ly8VVTcqUPtvlFbWCJqy_Ruks5vUXvsgaJpZM4biPwp .

sarathsp1729 commented 5 years ago

I am unable to download VGG16.pkl file. I tried downloading it from : https://s3.amazonaws.com/lasagne/recipes/pretrained/imagenet/vgg16.pkl

But I get an error page with : AccessDenied message Can anyone direct me regarding how to download this file? Is the file available under a different link? This is the error message I get: Screenshot from 2019-04-18 09-22-28

f0k commented 5 years ago

I am unable to download VGG16.pkl file.

As @ebenolson said, the bucket is no longer free to access, since his costs were growing too large (Amazon charged Eben for every download).

Is the file available under a different link?

Not that I'm aware of. If you have a free permanent hosting solution, we could provide the files to you and update the links.

Otherwise it's also possible to convert the original Caffe network again, following this guide: https://github.com/Lasagne/Recipes/blob/master/examples/Using%20a%20Caffe%20Pretrained%20Network%20-%20CIFAR10.ipynb

Po-Hsuan-Huang commented 5 years ago

Free instant-access online storage

Google Drive: 15GB free
Box: 10GB free
OneDrive: 5GB free (1TB for students)
Amazon Drive: 5GB (+ unltd photos with Prime)
iCloud: 5GB free
Dropbox: 2GB free (up to 18GB with referrals)
BT Cloud: 10GB-1,000GB 'free' with BT b'band

If your vgg16 model is smaller than 15G (I believe it is) then I can help you host it in a Google Drive

SteversIO commented 6 months ago

Coming back through here, I wanted to provide help for those that may need it.

I'm reproducing the steps I took and realized i didnt document the answer to this either; so I'm sharing here for others.

With a fresh install of aws-cli

aws-cli --version  
> aws-cli/2.15.39

Run aws configure and configure appropriately for yourself.

Here's how you split the bucket and key from the https URL that is circulating around; and set the request to request-payer.

aws s3api get-object --bucket lasagne --key recipes/pretrained/imagenet/vgg16.pkl vgg16.pkl --request-payer requester