TianLin0509 / BF-design-with-DL

Beamforming design with deep learning.
258 stars 105 forks source link

A problem happened when running train.py #6

Open huangkk99 opened 4 years ago

huangkk99 commented 4 years ago

As I'm a freshman to python and tensorflow, I have a bug that I can't figure out why it happened. Is there any other thing I need to do if I want to reproduce your result? Because when I run your train.py it shows that " 'NoneType' object is not subscriptable" in the line38,when using the batch_dot function in your Rate_Func. I wonder if you could give me some guidance and I'd appreciate it if you do so. Many thanks.

TianLin0509 commented 4 years ago

What's your tensorflow version? When I wrote the codes, the latest version is tensorflow-gpu 1.12.0, and now tensorflow 2.0 is open. But there are some differences may cause error. Maybe you can try the tensorflow 1.12.0? (Anyway, you can modify the codes to adapt latest tensorflow, but it needs some time)