-
Notifications
You must be signed in to change notification settings - Fork 16
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
Can't load the training model #2
Comments
Hi @Trick3r , |
@sdg002 , |
My suggestion would be
|
@sdg002 ok, thx, but could you please tell me, the model in the project that you have posted in Github, what version you use to train this model?, because I have try to run your code with your model and got the error |
Please see my comment here for an easier way to get the dll: |
When I have tried to loading the model, I got this error
"{"NodeDef mentions attr 'explicit_paddings' not in Op<name=Conv2D; signature=input:T, filter:T -> output:T; attr=T:type,allowed=[DT_HALF, DT_BFLOAT16, 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"]; attr=dilations:list(int),default=[1, 1, 1, 1]>; NodeDef: {{node conv1/convolution}} = Conv2D[T=DT_FLOAT, data_format="NHWC", dilations=[1, 1, 1, 1], explicit_paddings=[], padding="SAME", strides=[1, 1, 1, 1], use_cudnn_on_gpu=true](conv1_input, conv1/kernel/read). (Check whether your GraphDef-interpreting binary is up to date with your GraphDef-generating binary.)."}"
What am I doing wrong? here is the code for loading model
folderWithMNIST = @"D:\Tensorflow_C#\MNISTpng-master\MNISTpng\testing";
the rest of the code is same as you use
The text was updated successfully, but these errors were encountered: