You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: