BookmarkSubscribeRSS Feed

Running a scoring test for a Python model registered through register_model of sasctl failed

Started ‎02-24-2023 by
Modified ‎02-24-2023 by
Views 252

Question

I registered a Python model using register_model of python-sasctl   into a model repository.  I created a scoring test for the registered model in SAS Model Manager. When I ran the scoring test, it failed with the following error in the sas log.

NOTE: Created package xxx in data set "x.y"
NOTE: Execution succeeded. No rows affected.
NOTE: Running 'modelPublishing' action set with 0 workers.
NOTE: Execution of model 'TempModel_xxx ' succeeded.
ERROR: There is no session-scope table Test_xxx_output in caslib xxx of Cloud Analytic Services.

Answer

The issue is most likely caused by the Score code type of the registered model being DS2 multi-type. Change the Score code type to DS2 Package. Run the scoring test again. 

PythonModelScoreCodetype.jpg

Version history
Last update:
‎02-24-2023 10:00 AM
Updated by:
Contributors

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags