-
Notifications
You must be signed in to change notification settings - Fork 44
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
ValueError: setting an array element with a sequence. #5
Comments
我也遇到了这个问题,作者能否帮忙解答一下呢? |
可否检查下数据呢? 我这边没有出现这个问题。这个错误的意思是 赋值有问题 |
我也遇到同样的问题,请问大家解决了没有,可否帮忙解答一下?万分感谢 |
@shartoo ,请问作者,测试数据和训练数据的维度是否是一样的,都是4维? |
@zp678 我个人认为是因为在测试某个分支的时候,不应当把三个尺度的数据都传回去测试。 |
好的,谢谢您
2018-07-30 10:28 GMT+08:00 WangQL <[email protected]>:
… @zp678 <https://github.com/zp678> 我个人认为是因为在测试某个分支的时候,不应当把三个尺度的数据都传回去测试。
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AgiHjzpF7mNabunYCmPyZ0tUIZu6RXHOks5uLm9mgaJpZM4UUV4Q>
.
|
请问大家这个问题解决了吗? |
测试单个尺度就行了 |
Traceback (most recent call last): |
这是个很棒的项目,处理数据的部分没有太大问题就跑出来了,但是在训练过程中出现了一下问题:
Traceback (most recent call last):
File "main.py", line 16, in
model.inference(normalazation_output_path,test_path,0,True)
File "/home/wangqiuli/Documents/luna16_multi_size_3dcnn/model.py", line 145, in inference
_,summary = sess.run([train_step, merged],feed_dict =feed_dict)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 900, in run
run_metadata_ptr)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1104, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "/usr/local/lib/python3.5/dist-packages/numpy/core/numeric.py", line 492, in asarray
return array(a, dtype, copy=False, order=order)
ValueError: setting an array element with a sequence.
请问作者能否帮忙解答一下
The text was updated successfully, but these errors were encountered: