Git Product home page Git Product logo

Comments (5)

ryfeus avatar ryfeus commented on May 18, 2024

@Beomi thank you for pointing that out. It wasn't intended. I changed permissions for the bucket recently and forgot that I referenced it in this code.

from lambda-packs.

jrios6 avatar jrios6 commented on May 18, 2024

Followed your instructions on https://serverless.com/blog/using-tensorflow-serverless-framework-deep-learning-image-recognition/ and still received the same error "An error occurred (403) when calling the HeadObject operation: Forbidden".

from lambda-packs.

nonflet avatar nonflet commented on May 18, 2024

same problem :(

from lambda-packs.

jrios6 avatar jrios6 commented on May 18, 2024

@nonflet The error is exists because the application doesn't have read access to ryfeuslambda bucket.
I resolved it by uploading my own copy of imagenet_synset_to_human_label_map.txt, imagenet_2012_challenge_label_map_proto.pbtxt and classify_image_graph_def.pb to my S3 Bucket, and modified the code to download from there instead.

from lambda-packs.

ryfeus avatar ryfeus commented on May 18, 2024

@jrios6 @nonflet Thank you for feedback. I believe that ryfeuslambda is a public bucket. Still it may happen that you need to add permissions to read it within serverless configuration. The alternative as @jrios6 mentioned is to host model on your bucket. @jrios6 thank you for suggestion.

Let me know if there are any issues.

from lambda-packs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.