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

CARLA 0.9.5 0 - Python3.5 - Syntax Error - File "Test_1.py", line 311 agent.model.save(f'models/{MODEL_NAME}__{max_reward:_>7.2f}max_{average_reward:_>7.2f}avg_{min_reward:_>7.2f}min__{int(time.time())}.model') #12

Open
guruvishnuvardan opened this issue Aug 31, 2020 · 0 comments

Comments

@guruvishnuvardan
Copy link

Hi,

System specifications:
OS: Ubuntu 18.04,
Memory: 15.7 GiB,
Processor: AMD® Ryzen 7 3800x 8-core processor × 16,
GPU 4 GiB.
Python Version - 3.5
CARLA Version - 0.9.5

Please find the attached Test_1.py, I am attempting to run, while doing so, I am encountering syntax error - File "Test_1.py", line 311 agent.model.save(f'models/{MODEL_NAME}{max_reward:>7.2f}max{average_reward:>7.2f}avg{min_reward:_>7.2f}min{int(time.time())}.model') (Screenshot Attached).

I couldn't figure out the reason for the sytax error - I even tried to add -- agent.model.save('{}'.format(models/(MODEL_NAME)(max_reward:>7.2f)max(average_reward:>7.2f)avg(min_reward:_>7.2f)min(int(time.time())).model)), Still I encountered the same error.
2020-08-31
CARLA_Test_1_PY.pdf

Can you please help me resolve this problem.

Thanks
Guru

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

1 participant