Skip to content

Throw Exception"genTF unsupported label data type: DOUBLE_TYPE" #1166

Closed
@Echo9573

Description

@Echo9573

Description
Throw Exception "converting driver.Value type float64 ("-0.034224987") to a int64 " when select data from predictions in notebook.

Reproduction Steps
image

%%sqlflow
SELECT *
FROM intelligence_da_dev.titanic_train
TRAIN DNNClassifier
WITH
  model.n_classes = 2,
  model.hidden_units = [10, 40, 10],
  train.epoch = 200,
  train.batch_size = 64
COLUMN age, fare, pclass_3, pclass_1, pclass_2, sex_male, sex_female, sibsp_1, sibsp_0, sibsp_others_type, parch_0, parch_1, parch_2, parch_others_type, embarked_s, embarked_c, embarked_others_type, embarked_unknown_type
LABEL survived
INTO intelligence_da_dev.my_dnn_model;

--------------------------------Exception------------------------------
_Rendezvous: <_Rendezvous of RPC that terminated with:
status = StatusCode.UNKNOWN
details = "genTF unsupported label data type: DOUBLE_TYPE"
debug_error_string = "{"created":"@1573309027.737003066","description":"Error received from peer ipv4:10.82.128.7:8005","file":"src/core/lib/surface/call.cc","file_line":1055,"grpc_message":"genTF unsupported label data type: DOUBLE_TYPE","grpc_status":2}"

Metadata

Metadata

Assignees

Labels

DataScienceThe issue about the application in data scienceDiDiThe issue publisher is from DidibugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions