GithubHelp home page GithubHelp logo

Comments (3)

tmastny avatar tmastny commented on August 18, 2024

After more investigating, I believe the error originates here:
https://github.com/topepo/caret/blob/c69d61dd7c968b50a87fb2f337424d08ea4a980a/pkg/caret/R/train_recipes.R#L412-L413

When I debug into that line, I see that pkgs is

[1] "methods" "caret"   "recipes"

which I think means that foreach doesn't have access to embed. From ?foreach:

.packages | character vector of packages that the tasks depend on. If exrequires a R package to be loaded, this option can be used to load that package on each of the workers. Ignored when used with %do%

So I think this issue is probably a caret problem.

from embed.

topepo avatar topepo commented on August 18, 2024

tensorflow models can't really be parallelized in the way that caret does with other models/preprocessing methods. For models using TF/keras, a check is done and the user is prohibited from running these in (non-gpu) parallel.

There's no real way to do this for recipes but I will add a note in the embed help files about this limitation.

from embed.

github-actions avatar github-actions commented on August 18, 2024

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.

from embed.

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.