TianLin0509 / DNN_detection_via_keras

This is the simplest implementation of Power of Deep Learning for Channel Estimation and Signal Detection in OFDM Systems using keras.
155 stars 65 forks source link

运行程序时出现错误 #10

Open thedeepestsleepy opened 3 years ago

thedeepestsleepy commented 3 years ago

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

感谢!

BassantTolba1234 commented 3 years ago

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.

BassantTolba1234 commented 3 years ago

Dear sir, please what is the value of SNR (Signal Noise to ratio used in training the model ) ??