Skip to content
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

Exercise 5: Data science with spark #28

Open
ashoksamal6363 opened this issue Aug 10, 2020 · 2 comments
Open

Exercise 5: Data science with spark #28

ashoksamal6363 opened this issue Aug 10, 2020 · 2 comments

Comments

@ashoksamal6363
Copy link

I am getting a strange error during prediction:
Failed to execute query. Error: Message(s) from 'PREDICT' engine: Input column 1 (1-based) has shape [1,2] which is not supported.
Total execution time: 00:00:03.780

image

@casperlw
Copy link

When the lab train the model, it define the input as shape[1,2]
initial_types = [
("features", FloatTensorType([None, 2]))

I am not sure whether Predict can do this kind of transform before, in order to pass the lab you need to modify and re-train the model to accept two separate column 'customerkey', 'stockitemkey' as input.

@TiagoRente
Copy link

TiagoRente commented Mar 8, 2021

Today, I got this issue.
I was able to find the root cause. The table [wwi_ml].[SampleData] (in my case), nor table [wwi].[SampleData] (in the original case), does not exists in Synapses.

image

See below:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants