Skip to content

Instantly share code, notes, and snippets.

@Giribushan
Created July 23, 2018 23:51
Show Gist options
  • Save Giribushan/b3dd8def0ce616226f59b51823021dd0 to your computer and use it in GitHub Desktop.
Save Giribushan/b3dd8def0ce616226f59b51823021dd0 to your computer and use it in GitHub Desktop.
File "C:\Users\gcheru200\git\CRNN_Tensorflow\call_cloud_service.py", line 59, in <module>
predict_json(PROJECT_ID, MODEL_NAME, instances = INPUT_DATA_FILE, version=VERSION_NAME)
File "C:\Users\gcheru200\git\CRNN_Tensorflow\call_cloud_service.py", line 54, in predict_json
raise RuntimeError(response['error'])
RuntimeError: Prediction failed: Error during model execution: AbortionError(code=StatusCode.INVALID_ARGUMENT, details="NodeDef mentions attr 'dilations' not in Op<name=Conv2D; signature=input:T, filter:T -> output:T; attr=T:type,allowed=[DT_HALF, DT_FLOAT, DT_DOUBLE]; attr=strides:list(int); attr=use_cudnn_on_gpu:bool,default=true; attr=padding:string,allowed=["SAME", "VALID"]; attr=data_format:string,default="NHWC",allowed=["NHWC", "NCHW"]>; NodeDef: shadow/conv1/Conv2D = Conv2D[T=DT_FLOAT, _output_shapes=[[1,32,100,64]], data_format="NHWC", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/cpu:0"](Reshape, shadow/conv1/W/read)
[[Node: shadow/conv1/Conv2D = Conv2D[T=DT_FLOAT, _output_shapes=[[1,32,100,64]], data_format="NHWC", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/cpu:0"](Reshape, shadow/conv1/W/read)]]")
@Giribushan
Copy link
Author

File "C:\Users\gcheru200\git\CRNN_Tensorflow\call_cloud_service.py", line 59, in <module> predict_json(PROJECT_ID, MODEL_NAME, instances = INPUT_DATA_FILE, version=VERSION_NAME) File "C:\Users\gcheru200\git\CRNN_Tensorflow\call_cloud_service.py", line 54, in predict_json raise RuntimeError(response['error']) RuntimeError: Prediction failed: Error during model execution: AbortionError(code=StatusCode.INVALID_ARGUMENT, details="NodeDef mentions attr 'dilations' not in Op<name=Conv2D; signature=input:T, filter:T -> output:T; attr=T:type,allowed=[DT_HALF, DT_FLOAT, DT_DOUBLE]; attr=strides:list(int); attr=use_cudnn_on_gpu:bool,default=true; attr=padding:string,allowed=["SAME", "VALID"]; attr=data_format:string,default="NHWC",allowed=["NHWC", "NCHW"]>; NodeDef: shadow/conv1/Conv2D = Conv2D[T=DT_FLOAT, _output_shapes=[[1,32,100,64]], data_format="NHWC", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/cpu:0"](Reshape, shadow/conv1/W/read) [[Node: shadow/conv1/Conv2D = Conv2D[T=DT_FLOAT, _output_shapes=[[1,32,100,64]], data_format="NHWC", dilations=[1, 1, 1, 1], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/cpu:0"](Reshape, shadow/conv1/W/read)]]")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment