Git Product home page Git Product logo

Comments (1)

rstz avatar rstz commented on May 4, 2024 1

Hi, thanks for reporting this, that's a documentation bug / a bug in the compile_and_run script.

If you do not need TensorFlow support (i.e. TFRecord files), you can compile with

# running from the top directory of the repository
bazel build --config=macos  --define=use_ydf_tensorflow_proto=1 //examples:beginner_cc
./bazel-bin/examples/beginner_cc   --dataset_dir=yggdrasil_decision_forests/test_data/dataset   --output_dir=/tmp/yggdrasil_decision_forest

If you need TensorFlow support, you need to override the WORKSPACE file with WORKSPACE_WITH_TF, i.e.

# running from the top directory of the repository
cp WORKSPACE_WITH_TF WORKSPACE
bazel build --config=macos  //examples:beginner_cc
./bazel-bin/examples/beginner_cc   --dataset_dir=yggdrasil_decision_forests/test_data/dataset   --output_dir=/tmp/yggdrasil_decision_forest

Compilation with TensorFlow support will take more time (just downloading TF + dependencies probably takes a few minutes).

I'll keep this open until the documentation and script are updated.

from yggdrasil-decision-forests.

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.