GithubHelp home page GithubHelp logo

w5688414 / bfnn Goto Github PK

View Code? Open in Web Editor NEW
9.0 1.0 1.0 5 KB

this is the pytorch implementation of the paper: Beamforming Design for Large-Scale Antenna Arrays Using Deep Learning

Python 100.00%

bfnn's Introduction

BFNN

this is the pytorch implements of the paper: Beamforming Design for Large-Scale Antenna Arrays Using Deep Learning

说明

源代码的地址为:https://github.com/TianLin0509/BF-design-with-DL

requirements

  • torch 1.4
  • ubuntu 16.04

注意

  • pytorch 对复数操作不友好,目前把复数的两部分直接拼接,然后参与后面的计算,不能保证接近性能方面tf的代码

bfnn's People

Contributors

w5688414 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

zonghuiyang

bfnn's Issues

ffbn_test.py gives a RuntimeError

Dear Professor,

I am trying to run ffbn_test.py but receiving this error. I will be more than grateful if you can kindly provide guidance so that I can reproduce the results.

[tensor(0.0182, grad_fn=), tensor(0.0528, grad_fn=), tensor(0.1363, grad_fn=), tensor(0.3000, grad_fn=), tensor(0.5750, grad_fn=), tensor(1.0037, grad_fn=), tensor(1.6343, grad_fn=), tensor(2.4982, grad_fn=), tensor(3.5960, grad_fn=)]
Traceback (most recent call last):
return gca().plot( File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\axes_axes.py", line 1668, in plot
lines = [*self._get_lines(*args, data=data, **kwargs)]
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\axes_base.py", line 311, in call
yield from self._plot_args(
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\axes_base.py", line 494, in _plot_args y = check_1d(xy[1])
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\matplotlib\cbook_init
.py", line 1382, in _check_1d
return np.atleast_1d(x) File "<array_function internals>", line 180, in atleast_1d
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\numpy\core\shape_base.py", line 65, in atleast_1d ary = asanyarray(ary)
File "C:\ProgramData\Anaconda3\envs\pytorch\lib\site-packages\torch_tensor.py", line 956, in array
return self.numpy()
RuntimeError: Can't call numpy() on Tensor that requires grad. Use tensor.detach().numpy() instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.