LARG / HFO

Half Field Offense in Robocup 2D Soccer
MIT License
230 stars 93 forks source link

How to run sarsa_agent.py directly? #103

Closed MoonieC closed 4 years ago

MoonieC commented 4 years ago

Hi @mhauskn , now I know how to run sarsa_agent after use 'make' command in terminal. But I still want to know how to directly use this .py file. I have tried several ways but cannot connect. Can you give me some instructions?

mhauskn commented 4 years ago

Have you tried python high_level_sarsa_agent.py?

MoonieC commented 4 years ago

Yes, I have tried and it says this image

MoonieC commented 4 years ago

And these also cannot work image

mhauskn commented 4 years ago

Have you pip installed the hfo package (from the HFO folder run python -m pip install --user .)?

MoonieC commented 4 years ago

No, it still can't. T_T image

mhauskn commented 4 years ago

Looks like you might need to go to HFO/example/sarsa_libraries/python_wrapper and run the makefile there.

On Mon, May 25, 2020 at 10:00 PM MiaCompiling notifications@github.com wrote:

No, it still can't. T_T [image: image] https://user-images.githubusercontent.com/59831989/82861911-c33d5c80-9f50-11ea-8144-6d58b14cf582.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LARG/HFO/issues/103#issuecomment-633808115, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAE2OLBVKJE3FQTRBFPKWLRTNEFDANCNFSM4NJSQGEQ .

mhauskn commented 4 years ago

If that doesn't work, it may be time to ask @DurgeshSamant who wrote this code back in 2017.

MoonieC commented 4 years ago

image This time it shows this, so I wonder if this file has some problems?

MoonieC commented 4 years ago

Should I download this file again?

mhauskn commented 4 years ago

Hmm, if the file is missing, then you'll probably need to re-download it (and any other missing files).

On Mon, May 25, 2020 at 10:13 PM MiaCompiling notifications@github.com wrote:

Should I download this file again?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/LARG/HFO/issues/103#issuecomment-633811248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAE2OJTDL24EI23AXFKLTLRTNFZDANCNFSM4NJSQGEQ .