-
Notifications
You must be signed in to change notification settings - Fork 80
Description
您好,我正在复现您的实验,unbuntu16.04,python3.7,我首先运行了train.py文件,出现了以下错误,请问该如何解决?诚盼回复
model_build_time 5.370615005493164
get batch time 1.98e-05s
forward process time 7.57s
beginning to select..........
select best batch time 0.188s
select_batch_time: 7.82932448387146
Traceback (most recent call last):
File "train.py", line 181, in
main()
File "train.py", line 125, in main
loss = model.train_on_batch(x, y)
File "/home/dcase/miniconda3/lib/python3.7/site-packages/keras/engine/training.py", line 1808, in train_on_batch
check_batch_axis=True)
File "/home/dcase/miniconda3/lib/python3.7/site-packages/keras/engine/training.py", line 1411, in _standardize_user_data
exception_prefix='target')
File "/home/dcase/miniconda3/lib/python3.7/site-packages/keras/engine/training.py", line 153, in _standardize_input_data
str(array.shape))
ValueError: Error when checking target: expected ln to have shape (None, 512) but got array with shape (96, 1)