Giter VIP home page Giter VIP logo

Comments (6)

sagor999 avatar sagor999 commented on September 26, 2024

This line checks if that file exists, and if not, it will generate it and save:

if Path::new(&combinations_path).exists() {

It takes a bit of time to generate it, and I did not want to submit it into git as it is about 100MB in size.

from poker_ml.

sagor999 avatar sagor999 commented on September 26, 2024

Oh, also update the path to match your env. :) I should have fixed to make that path relative, but never got to it.

from poker_ml.

lidarwin avatar lidarwin commented on September 26, 2024

This line checks if that file exists, and if not, it will generate it and save:

if Path::new(&combinations_path).exists() {

It takes a bit of time to generate it, and I did not want to submit it into git as it is about 100MB in size.

I did change the paths so that all the paths match my working directory in main.rs but the files never got generated

Is it the cargo build --release step that generates these files?

from poker_ml.

sagor999 avatar sagor999 commented on September 26, 2024

Oh, that's odd. I guess for some reason that check returns that file exists?
You can try to add output to see what that exists() function returns.

cargo build --release creates executable in release configuration. you need to run cargo run to run the executable, or you can just manually execute the binary as well.

from poker_ml.

lidarwin avatar lidarwin commented on September 26, 2024

Oh, that's odd. I guess for some reason that check returns that file exists? You can try to add output to see what that exists() function returns.

cargo build --release creates executable in release configuration. you need to run cargo run to run the executable, or you can just manually execute the binary as well.

Turns out that I mistyped my directories. This step seems to be fine now. However I suggest adding in the instructions to run the command cargo update -p lexical-core If running a newer version of rust. That’s what I had to do to get cargo build —release to work

from poker_ml.

lidarwin avatar lidarwin commented on September 26, 2024

Oh, that's odd. I guess for some reason that check returns that file exists? You can try to add output to see what that exists() function returns.
cargo build --release creates executable in release configuration. you need to run cargo run to run the executable, or you can just manually execute the binary as well.

Turns out that I mistyped my directories. This step seems to be fine now. However I suggest adding in the instructions to run the command cargo update -p lexical-core If running a newer version of rust. That’s what I had to do to get cargo build —release to work

Ok, I realized I needed to install nvidia environment for docker, so this part is okay now. Thanks!

from poker_ml.

Related Issues (5)

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.