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
After adding features to either the svm or mlp objects, I am unable to write out the data to a file using the write my_mlp_data message. This is still the case before and after training a model. The Pd console shows the following error message:
error: ml.mlp: unable to write training data to path: mlp_data.data error: ml.mlp: unable to write model to path: mlp_data.model
The text was updated successfully, but these errors were encountered:
I can reproduce this, but I think probably it's the documentation that's incorrect.
For me it works if I do write /path/to/my_ml-lib_data where /path/to is some directory writeable by Pd.
I suspect if you don't include a path it either tries to write to /my_ml-lib_data or $(pwd)/my_ml-lib_data where $(pwd) is something like /Applications/Pd.app/Contents/MacOS ... and therefore it fails due to permissions.
I might update the help file and also print a more helpful error message.
Can you confirm using the full path works for you?
Using: Pd 0.49.1, ml-lib 0.18.1, macOS 10.13.6
ml-lib objects used: ml.svm, ml.mlp
After adding features to either the svm or mlp objects, I am unable to write out the data to a file using the
write my_mlp_data
message. This is still the case before and after training a model. The Pd console shows the following error message:error: ml.mlp: unable to write training data to path: mlp_data.data error: ml.mlp: unable to write model to path: mlp_data.model
The text was updated successfully, but these errors were encountered: