GithubHelp home page GithubHelp logo

helioseven / deep_learning_and_the_game_of_go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maxpumperla/deep_learning_and_the_game_of_go

6.0 6.0 4.0 333.04 MB

Code and other material for the book "Deep Learning and the Game of Go"

Home Page: https://www.manning.com/books/deep-learning-and-the-game-of-go

Dockerfile 0.22% Python 57.58% JavaScript 21.90% HTML 11.87% Jupyter Notebook 7.53% Shell 0.83% CSS 0.08%

deep_learning_and_the_game_of_go's People

Contributors

cclauss avatar efaq avatar groovescale avatar hackf5 avatar helioseven avatar jingoy0610 avatar kairstenfay avatar krunt avatar macfergus avatar maxpumperla avatar sojironishimura avatar tychota avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deep_learning_and_the_game_of_go's Issues

`code/examples/create_bot.py` chokes at end of process when invoked outside of `code/examples`

I just ran ./code/examples/create_bot.py from the top level of this repo.

The process (at one epoch) ran for many minutes before exiting with the following error:

Traceback (most recent call last):
  File "code/examples/create_bot.py", line 50, in <module>
    main()
  File "code/examples/create_bot.py", line 44, in main
    model_file = h5py.File("../agents/deep_bot.h5", "w")
  File "/Users/kairstenfay/miniconda3/lib/python3.6/site-packages/h5py/_hl/files.py", line 394, in __init__
    swmr=swmr)
  File "/Users/kairstenfay/miniconda3/lib/python3.6/site-packages/h5py/_hl/files.py", line 176, in make_fid
    fid = h5f.create(name, h5f.ACC_TRUNC, fapl=fapl, fcpl=fcpl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5f.pyx", line 105, in h5py.h5f.create
OSError: Unable to create file (unable to open file: name = '../agents/deep_bot.h5', errno = 2, error message = 'No such file or directory', flags = 13, o_flags = 602)

This is because ../agents/deep_bot.h5 is hard-coded as a relative file path to the script. Ideally this file path would be absolute or the script would check if the file exists before running the expensive processes of create_bot.py.

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.