Giter Club home page Giter Club logo

Comments (3)

kblomdahl avatar kblomdahl commented on June 14, 2024

If you have built the project using cargo then then you can find dream_go in the directory target/release. In the README I shortened the path to just ./dream_go to keep it simple. The full serie of commands, including building the binary if you have not done so already, is:

cargo build --release
./target/release/dream_go --extract kgs_bal.sgf > kgs_big.bin
...

You can of course also copy it to the current directory for future easy access:

cargo build --release && cp target/release/dream_go ./dream_go
./dream_go --extract kgs_bal.sgf > kgs_big.bin
...

from dream-go.

ecilay avatar ecilay commented on June 14, 2024

thanks this help!
When i build it gets me error below:

`error[E0554]: #![feature] may not be used on the stable release channel
--> /Users/.cargo/registry/src/github.com-1ecc6299db9ec823/lazy_static-1.0.0/src/lib.rs:104:32
|
104 | #![cfg_attr(feature="nightly", feature(unreachable))]
| ^^^^^^^^^^^^^^^^^^^^^

error: aborting due to previous error

Build failed, waiting for other jobs to finish...
error: Could not compile lazy_static.

To learn more, run the command again with --verbose.`

from dream-go.

kblomdahl avatar kblomdahl commented on June 14, 2024

Dream Go requires the nightly branch of rust for various reasons mostly related to performance. You will need to "upgrade" your current stable branch to nightly to compile. It seems like you are using rustup so the following commands should work:

rustup toolchain install nightly
rustup default nightly

If this worked then you should see a version similar to the the one below when running cargo --version:

$ cargo --version
cargo 0.26.0-nightly (1d6dfea44 2018-01-26)

Once you are done compiling Dream Go and you want to switch back to stable you can do so by typing:

rustup default stable

PS: Here are some binaries you can use if you are running Linux (linked against CUDA 9.1 and cuDNN 7). Unfortunately I do not have access to a Mac or Windows machine, so if you are using that then we'll have to see if we can make the compilation work.

dreamgo-0.5.0_amd64.tar.gz

from dream-go.

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.