运行程序时出现错误
thedeepestsleepy opened this issue · 2 comments
Hi, tianlin
我运行程序时遇到这个问题。
当训练完成后 运行到
y = model.evaluate(
validation_gen(10000, SNR),
steps=1
)
这里时,出现这个错误。 您有遇到过么
Exception has occurred: AttributeError
'generator' object has no attribute 'ndim'
File "/Users/Documents/GitHub/DNN_detection_via_keras/main.py", line 50, in
steps=1
感谢!
Dear Sir,
I really appreciate your hard work..and please I have a question, in main file line 48, why do you make (model.evaluate) on function called (validation_gen) which exactly contains the generation of training datasets not the test datasets??..
why did not you apply evaluation the model on testing datasets you provided , instead of training datasets ?
I'm waiting for your reply..
thanks in advance.
Dear sir, please what is the value of SNR (Signal Noise to ratio used in training the model ) ??