Open 2307856817 opened 1 year ago
Thank you for pointing out this issue, the initialize.py was attached to common file.
respected sir, i am a research scholar, i am interested in federated learning. while trying to run this code, i am facing this problem. Installed reacher, even i am finding this issue and i did not find the code reacher in this folder. So, please give me solution.
error i am getting like this:
from reacher import Reacher # Env ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'Reacher' from 'reacher' (unknown location)
respected sir, i am a research scholar, i am interested in federated learning. while trying to run this code, i am facing this problem. Installed reacher, even i am finding this issue and i did not find the code reacher in this folder. So, please give me solution.
error i am getting like this:
from reacher import Reacher # Env ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'Reacher' from 'reacher' (unknown location)
Hi, in fact, reacher is redundant, you can delete the "from reacher import Reacher" line. If you want to use reacher, you can install it through the command: pip install reacher
Thank you sir. I will try as you said.
On Mon, Mar 25, 2024, 4:17 PM Jingjing Zheng @.***> wrote:
respected sir, i am a research scholar, i am interested in federated learning. while trying to run this code, i am facing this problem. Installed reacher, even i am finding this issue and i did not find the code reacher in this folder. So, please give me solution.
error i am getting like this:
from reacher import Reacher # Env ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ImportError: cannot import name 'Reacher' from 'reacher' (unknown location)
Hi, in fact, reacher is redundant, you can delete the "from reacher import Reacher" line. If you want to use reacher, you can install it through command: pip install reacher
— Reply to this email directly, view it on GitHub https://github.com/jjzgeeks/FL-DLT3/issues/1#issuecomment-2017711148, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5QR4SWFGWCDNAFK5KV5M2DYZ76CXAVCNFSM6AAAAAAQLFD4PGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJXG4YTCMJUHA . You are receiving this because you commented.Message ID: @.***>
Hello sir, I am a postgraduate student in China, my research area is federated learning and resource allocation and I am very interested in your approach. I encountered a problem when running your code locally, it prompted ModuleNotFoundError: No module named 'common.initialize'![1663055335305(1)](https://user-images.githubusercontent.com/61187702/189842566-833937b1-6bb5-429e-b703-0e328d81fe80.png)
And in the file common/policy_networks.py there may be some issue with " from .initialize import * "
Could you please help me with this problem?