GithubHelp home page GithubHelp logo

clintonreece / keras-cloud-ml-engine Goto Github PK

View Code? Open in Web Editor NEW
105.0 105.0 20.0 4.58 MB

Adventures using keras on Google's Cloud ML Engine

Python 100.00%
google-cloud hyperparameters keras mnist

keras-cloud-ml-engine's People

Contributors

clintonreece avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

keras-cloud-ml-engine's Issues

file_io.FileIO throws UnicodeDecodeError when reading .h5 model file

with file_io.FileIO('model.h5', mode='r') as input_f:
        with file_io.FileIO(job_dir + '/model.h5', mode='w+') as output_f:

The above throws a UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte as the .h5 model file is a bytes file. To correct this issue use bytes mode for reading/writing using FileIO:

with file_io.FileIO('model.h5', mode='rb') as input_f:
        with file_io.FileIO(job_dir + '/model.h5', mode='wb+') as output_f:

Log Path not used

In your example, you setup the logPath but don't use it. Where is logPath used and how does it enable the use of tensorboard in your example?

Awesome example otherwise!

Thanks.

BadRequestException: 400 Bucket is requester pays bucket but no user project provided.

Sorry for disturbing. I have trial account on Google Cloud and got this error when a job was started:

~$ export JOB_NAME="mnist_mlp_train5_$(date +%Y%m%d_%H%M%S)"
~$ export JOB_DIR=gs://$BUCKET_NAME/$JOB_NAME
~$ export REGION=us-east1
~$ gcloud ml-engine jobs submit training $JOB_NAME     --job-dir $JOB_DIR     --runtime-version 1.0     --module-name trainer.mnist_m
lp     --package-path ./trainer     --region $REGION     --     --train-file gs://$BUCKET_NAME/data/mnist.pkl

Bucket storage:

~$ gsutil ls gs://$BUCKET_NAME/data
gs://.../data/mnist.pkl

Maybe bucket storage is not supported in the trial mode?
Please help me to fix this error.

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.