You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instructions for updating:
Use tf.global_variables_initializer instead.
Not found checkpoint file
WARNING:tensorflow:Passing a GraphDef to the SummaryWriter is deprecated. Pass a Graph object instead, such as sess.graph.
Traceback (most recent call last):
File "D:/视频/人群计数论文/mscnn-master/mscnn_train.py", line 161, in
tf.app.run()
File "D:\python3.5\lib\site-packages\tensorflow\python\platform\app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "D:/视频/人群计数论文/mscnn-master/mscnn_train.py", line 157, in main
train()
File "D:/视频/人群计数论文/mscnn-master/mscnn_train.py", line 119, in train
_, loss_value = sess.run([train_op, loss], feed_dict={image: np_xs, label: np_ys})
File "D:\python3.5\lib\site-packages\tensorflow\python\client\session.py", line 767, in run
run_metadata_ptr)
File "D:\python3.5\lib\site-packages\tensorflow\python\client\session.py", line 938, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "D:\python3.5\lib\site-packages\numpy\core\numeric.py", line 492, in asarray
return array(a, dtype, copy=False, order=order)
报这个错误 是不是需要将图片统一处理为同一大小
The text was updated successfully, but these errors were encountered:
您好 运行mscnn_train程序时,将百度云盘的数据路径加入后
Instructions for updating:
Use
tf.global_variables_initializer
instead.Not found checkpoint file
WARNING:tensorflow:Passing a
GraphDef
to the SummaryWriter is deprecated. Pass aGraph
object instead, such assess.graph
.Traceback (most recent call last):
File "D:/视频/人群计数论文/mscnn-master/mscnn_train.py", line 161, in
tf.app.run()
File "D:\python3.5\lib\site-packages\tensorflow\python\platform\app.py", line 44, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "D:/视频/人群计数论文/mscnn-master/mscnn_train.py", line 157, in main
train()
File "D:/视频/人群计数论文/mscnn-master/mscnn_train.py", line 119, in train
_, loss_value = sess.run([train_op, loss], feed_dict={image: np_xs, label: np_ys})
File "D:\python3.5\lib\site-packages\tensorflow\python\client\session.py", line 767, in run
run_metadata_ptr)
File "D:\python3.5\lib\site-packages\tensorflow\python\client\session.py", line 938, in _run
np_val = np.asarray(subfeed_val, dtype=subfeed_dtype)
File "D:\python3.5\lib\site-packages\numpy\core\numeric.py", line 492, in asarray
return array(a, dtype, copy=False, order=order)
报这个错误 是不是需要将图片统一处理为同一大小
The text was updated successfully, but these errors were encountered: