BIT-MCS / DRL-EC3

[JSAC 2018] Energy-Efficient UAV Control for Effective and Fair Communication Coverage: A Deep Reinforcement Learning Approach
MIT License
81 stars 19 forks source link

Cannot access maddpg module #2

Open LJunSeok opened 1 year ago

LJunSeok commented 1 year ago

I tried erasing and reinstalling code multiple times but it always hits this problem

Traceback (most recent call last): File "experiments/train.py", line 7, in import maddpg.common.tf_util as U ModuleNotFoundError: No module named 'maddpg'

I also tried visiting the maffpg still doesn't help. How can I solve this issue? thank you.

hkskn24 commented 6 months ago

Have you solved this issue? I have the same issue... If you have some solutions, please tell me!! Thank you very much!!

hkskn24 commented 6 months ago

It seems to be a solution: add the directory of the parent folder of "DRL-EC3" to $PYTHONPATH. More information: https://stackoverflow.com/questions/2325923/how-to-fix-importerror-no-module-named-error-in-python#