InvalidArgumentError : Shape in shape_and_slice spec [,] does not match the shape stored in checkpoi
2018-02-02 16:34
701 查看
解决方法:
classifier = tf.contrib.learn.DNNClassifier(feature_columns=feature_columns,hidden_units=[10, 20, 10],n_classes=2,
model_dir="/tmp/iris_model")
这里的model_dir给改了。。因为tensorflow默认会先去找已经训练过的模型
tensorflow小白伤不起。。
classifier = tf.contrib.learn.DNNClassifier(feature_columns=feature_columns,hidden_units=[10, 20, 10],n_classes=2,
model_dir="/tmp/iris_model")
这里的model_dir给改了。。因为tensorflow默认会先去找已经训练过的模型
tensorflow小白伤不起。。
相关文章推荐
- 解决Virtual Box UUID does not match the value stored in the media registry
- FUNCTION line.count does not exist. Check the 'Function Name Parsing and Resolution' section in the
- s3cmd在配置后使用时提示ERROR: S3 error: 403 (InvalidAccessKeyId): The AWS Access Key Id you provided does not exist in our records.
- 错误码: 1630 FUNCTION count does not exist. Check the 'Function Name Parsing and Resolution' section in
- poi 3.2 SecurityException HPSFException signer information does not match signer information of other classes in the same package
- RNN报错:InvalidArgumentError: indices[498,120] = 74072 is not in [0, 74072)
- 上传时报错:The Bundle ID xxx defined in your Xcode Project does not match the Bundle ID that you
- Error:The type or namespace name 'Office' does not exist in the namespace 'Microsoft' 解决方法
- ERROR: The node /hbase is not in ZooKeeper. It should have been written by the master. Check the val
- Siebel Exception: The value entered in field Business Component of buscomp Repository WF Step does not match any value in the bo
- Description Resource Path Location Type Java compiler level does not match the version of the in解决方法
- Description Resource Path Location Type Java compiler level does not match the version of the in...
- 'ddlCities' has a SelectedValue which is invalid because it does not exist in the list of items
- SharePoint Error : System.ArgumentException. Value does not fall within the expected range
- error: argument of type 'void* (My_Thread::)(void*)' does not match 'void *(*)(void*)'
- Siebel Exception: The value entered in field Business Component of buscomp Repository WF Step does not match any value in the bo
- Maven构建项目后项目报Error错误Java compiler level does not match the version of the installed Java project fac
- Does not match the target endianness, not loaded. check build options ccs3.3中出现的错误
- s signer information does not match signer information of other classes in the same packag
- Description Resource Path Location Type Java compiler level does not match the version of the in解决方法