Giter Site home page Giter Site logo

Comments (4)

biplavc avatar biplavc commented on September 4, 2024 1

Facing the same issue, did anyone find a way to solve it?
Edit 1: was able to make the program run by replacing net.BSs with net.expectBS in file qlearning.py, but is it technically the right thing to do?

from qfnet.

zyh768 avatar zyh768 commented on September 4, 2024 1

define self.net.BSs=32 ,the problem will be solved。

from qfnet.

Luo-Li avatar Luo-Li commented on September 4, 2024

File "C:/Users/16664/Desktop/论文_daily/11月4日/qfnet-master/main.py", line 100, in
create_only_q()
File "C:/Users/16664/Desktop/论文_daily/11月4日/qfnet-master/main.py", line 53, in create_only_q
ql.start('1', epoch=20, iteration=64, only_q=True)
File "C:\Users\16664\Desktop\论文_daily\11月4日\qfnet-master\qlearning.py", line 264, in start
for i in range(self.net.BSs):
AttributeError: 'Network' object has no attribute 'BSs'

there is a problem when i try to run the main.py, how to solve the problem?
I encountered the same problem as you, how do you solve it

from qfnet.

armanruet avatar armanruet commented on September 4, 2024

Facing the same issue, did anyone find a way to solve it? Edit 1: was able to make the program run by replacing net.BSs with net.expectBS in file qlearning.py, but is it technically the right thing to do?

I guess it the right way since we're doing training over several subcarriers and base stations. net.expectBS is the number of base stations.

from qfnet.

Related Issues (3)

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.