New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pickle file path issue in Viya 3.5 #124
Comments
Hey @andysas, That looks like a configuration issue within Viya 3.5. You'll need an admin to properly set up the python resources path. With sudo access, running the following calls in bash will create the appropriate resources directory: |
This process is similar to the documentation on setting up the astore resource environment. See here. |
Thanks for the prompt reply. It solved the pickle file related error. Getting a different error now. I think this might be related to the github example. |
It looks like the relevant Python error was truncated (pasted below). Can you score the model locally from the pickle file? Also, what dataset are you using? I just reran the notebook myself aimed at a Viya 3.5 server and didn't have any errors with my testing dataset. ERROR: Traceback (most recent call last): |
Hi |
Have you checked your python environment on Viya to make sure it has all of the correct versions of packages installed? Otherwise, we'd need to check the logs for more detailed error messages. Typically on Viya 3.5, you can find the logs at /opt/sas/viya/config/var/log/. |
My desktop's Python version is 3.6 and the Python version on the RACE image is 3.7.3 and I am assuming my model should be upward compatible. I did not find anything in the above logs. Are there any other logs I should check? |
I would agree with the upwards compatibility of Python versions. Do the packages you are utilizing with your model match between your local environment and the RACE image? I'll try and find a more specific log location for checking the logs. |
Hi |
@andysas, |
Describe the issue
The python model is not able to locate the pickle file post registration in SAS Model Manager in SAS Viya 3.5. As a result of that, the model is not able to score data.
To Reproduce
Just use the example listed pzmmModelImportExample and register the final models in a Viya 3.5 image.
Expected behavior
I checked the *score.py file in model manager to check the path of the pickle file on the server and post that logged into the server to check the path there as well. On the server I was able to see a path(symlink) for astore files but nothing for pickle files. I am assuming a similar path should exist for pickle files as well. Refer screenshots for details.
Stack Trace
If you're experiencing an exception, include the full stack trace and error message.
Version
What version of
sasctl
are you using? 1.7.1pzmm_error.docx
The text was updated successfully, but these errors were encountered: