-
Notifications
You must be signed in to change notification settings - Fork 87
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
新配置的环境运行还是报如下错误 #15
Comments
|
D:\ProgramData\Anaconda3\python.exe D:/ProgramData/ssq-master/ssq4all.py start training...2019-10-31 16:28:58.214069: W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:1158] Invalid argument: stride must be less than or equal to kernel size Last epoch were saved, next time will start from epoch 0.Traceback (most recent call last): During handling of the above exception, another exception occurred: Traceback (most recent call last): Caused by op 'gradients/conv3_0/AvgPool_grad/AvgPoolGrad', defined at: ...which was originally created as op 'conv3_0/AvgPool', defined at: InvalidArgumentError (see above for traceback): stride must be less than or equal to kernel size |
pycharm 下运行出现的错误 |
删了重新跑还是这个错误 |
Python 3.5.2 |Anaconda 4.2.0 (64-bit)| (default, Jul 5 2016, 11:41:13) [MSC v.1 |
|
tensorflow (1.2.0rc0) 从1.2 升级到1.6现在不报之前的错误了,现新配个环境测试一下 |
D:\python\Anaconda3\python.exe D:/ProgramData/ssq-master/dlt4all.py
2019-10-31 15:03:33.152776: W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE instructions, but these are available on your machine and could speed up CPU computations.
2019-10-31 15:03:33.152776: W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE2 instructions, but these are available on your machine and could speed up CPU computations.
2019-10-31 15:03:33.152776: W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
2019-10-31 15:03:33.152776: W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2019-10-31 15:03:33.155276: W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\platform\cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
restore from the checkpoint D:\ProgramData\ssq-master\dlt_model\poems-0
start training...
2019-10-31 15:03:38.997865: W c:\tf_jenkins\home\workspace\release-win\device\cpu\os\windows\tensorflow\core\framework\op_kernel.cc:1158] Invalid argument: stride must be less than or equal to kernel size
WARNING:tensorflow:Error encountered when serializing LAYER_NAME_UIDS.
Type is unsupported, or the types of the items don't match field type in CollectionDef.
'dict' object has no attribute 'name'
Last epoch were saved, next time will start from epoch 0.
Traceback (most recent call last):
File "D:\python\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1139, in _do_call
return fn(*args)
File "D:\python\Anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1121, in _run_fn
status, run_metadata)
File "D:\python\Anaconda3\lib\contextlib.py", line 66, in exit
next(self.gen)
File "D:\python\Anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 466, in raise_exception_on_not_ok_status
pywrap_tensorflow.TF_GetCode(status))
tensorflow.python.framework.errors_impl.InvalidArgumentError: stride must be less than or equal to kernel size
[[Node: gradients/conv3_0/AvgPool_grad/AvgPoolGrad = AvgPoolGrad[T=DT_FLOAT, data_format="NHWC", ksize=[1, 1, 1, 1], padding="VALID", strides=[1, 2, 2, 1], _device="/job:localhost/replica:0/task:0/cpu:0"](gradients/conv3_0/AvgPool_grad/Shape, gradients/conv3_0/Pad_grad/Slice_1)]]
The text was updated successfully, but these errors were encountered: