Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REWARD FILE IS MISSING #1

Open
rahulrauni opened this issue Nov 25, 2021 · 5 comments
Open

REWARD FILE IS MISSING #1

rahulrauni opened this issue Nov 25, 2021 · 5 comments

Comments

@rahulrauni
Copy link

Hello sir,
Myself Rahul Raj Final year student from Nit Hamirpur, Himachal Pradesh, India. I saw your paper related to Deep-Reinforcement Learning Multiple Access for Heterogeneous Wireless Networks , it is really good work. i am also exporing this topic and want to run the file /DLMA/codes/RNN/agent+EB-ALOHA and it shows some error that OSError: rewards/reward1_len50000_q0.2_M4_E1000_F20_B64_gamma0.9_alpha1_idx1.txt not found.

please provide that file also and if possible please upload this file on github. i remain thankful to you.

@rahulrauni
Copy link
Author

is there any update?

@basith3c3r9
Copy link

basith3c3r9 commented Jan 15, 2022

I have also observed the same problem.
@rahulrauni @YidingYu

Can you please check if you have any updates?

Error:

---------- Start processing ... ----------

100% 50000/50000 [46:05<00:00, 18.08it/s]
Traceback (most recent call last):
File "run_DQN.py", line 92, in
main(env.window_size, M, E, F, B, gamma, alpha, idx, max_iter)
File "run_DQN.py", line 49, in main
with open(f'rewards/reward1_len{max_iter}_W{W}_M{M}_E{E}_F{F}_B{B}_gamma{gamma}_alpha{alpha}_idx{idx}.txt', 'w') as my_agent:
FileNotFoundError: [Errno 2] No such file or directory: 'rewards/reward1_len50000_W4_M20_E1000_F20_B64_gamma0.9_alpha0_idx1.txt'

@siyv6
Copy link

siyv6 commented May 10, 2022

I have also observed the same problem.
@rahulrauni @YidingYu @basith3c3r9
Can you please check if you have any updates?

@basith3c3r9
Copy link

The problem has been resolved. What you need to do is to manually create a folder in the same directory and rename it to "rewards".
You can do this using the command mkdir rewards or right click on the DLMA folder and click new folder then rename it to rewards

@lmnsqeez
Copy link

lmnsqeez commented Feb 1, 2023

had the same issue ...
creating the rewards folder solved it!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants