Code Monkey home page Code Monkey logo

Comments (4)

pilhokim avatar pilhokim commented on August 25, 2024

A temporary solution I found (See this discussion) is running the s3 cp command with --no-sign-request parameter as shown below:
aws s3 --no-sign-request cp s3://amazon-reviews-pds/tsv/amazon_reviews_us_Digital_Video_Download_v1_00.tsv.gz /tmp/recsys/

from amazon-sagemaker-examples.

pilhokim avatar pilhokim commented on August 25, 2024

After fixing the S3 issue, I tested the rest of the code but the kernel (Both conda_mxnet_p27 and conda_mxnet_p36) keeps dying at Let's initialize network weights and set our optimization parameters section. See the attached screenshot. Could you advise what could be a cause of this problem?

screen shot 2018-06-04 at 9 54 28 pm

from amazon-sagemaker-examples.

djarpin avatar djarpin commented on August 25, 2024

Hi @pilhokim . Could you confirm that you're running in a GPU instance? The MXNet context is currently set at mx.gpu() which will fail if you're running in a CPU instance. Thanks.

from amazon-sagemaker-examples.

pilhokim avatar pilhokim commented on August 25, 2024

You are right, @djarpin! Thanks a lot for your advice. I forgot the fact that this code runs on the local machine, not deploying training instances. I tested ctx = mx.cpu() which works fine with my ml.m4x.xlarge SageMaker instance. I also created a ml.p2.xlarge SageMaker instance and set ctx = mx.gpu. Both work fine. This example, however, looks taking a long time to train. Thank you again.

from amazon-sagemaker-examples.

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.