Giter Club home page Giter Club logo

arduinomicroml's Issues

Error porting xgboost model

When ever I try porting a xgboost model of the Iris dataset, I get the following error (even when ran as Administrator).

File "C:\Users\Nathan\My Drive\Fun Code And Hobbies\ArduinoMicroML\notebook\Port_XGB.py", line 18, in
c_code = port(clf, classmap=class_map)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nathan\AppData\Roaming\Python\Python311\site-packages\micromlgen\micromlgen.py", line 48, in port
return port_xgboost(**locals(), **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Nathan\AppData\Roaming\Python\Python311\site-packages\micromlgen\xgboost.py", line 40, in port_xgboost
clf.save_model(tmp.name)
File "C:\Users\Nathan\AppData\Roaming\Python\Python311\site-packages\xgboost\sklearn.py", line 823, in save_model
self.get_booster().save_model(fname)
File "C:\Users\Nathan\AppData\Roaming\Python\Python311\site-packages\xgboost\core.py", line 2534, in save_model
_check_call(_LIB.XGBoosterSaveModel(self.handle, c_str(fname)))
File "C:\Users\Nathan\AppData\Roaming\Python\Python311\site-packages\xgboost\core.py", line 282, in _check_call
raise XGBoostError(py_str(_LIB.XGBGetLastError()))
xgboost.core.XGBoostError: [09:46:02] C:\buildkite-agent\builds\buildkite-windows-cpu-autoscaling-group-i-0b3782d1791676daf-1\xgboost\xgboost-ci-windows\dmlc-core\src\io\local_filesys.cc:209: Check failed: allow_null: LocalFileSystem::Open "C:\Users\Nathan\AppData\Local\Temp\tmpmyj57cav.json": Permission denied

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.