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

unexpected keyword argument 'checkpoint_freq' comes up when run "python Rocket_RL/python/main.py" #47

Open
lazyaa opened this issue Jul 27, 2023 · 0 comments

Comments

@lazyaa
Copy link

lazyaa commented Jul 27, 2023

The results are as follows:
ridge results for degree 4 & var O_CH4_flow_uniformity: 0.9518325501300927
ridge results for degree 4 & var O_CH4_mol_frac: 0.9886783190934565
ridge results for degree 4 & var O_t: 0.9936236872942672
2023-07-27 16:14:08,396 INFO worker.py:1621 -- Started a local Ray instance.
Traceback (most recent call last):
File "/home/lzy/ray/python/ray/tune/experiment/experiment.py", line 333, in from_json
exp = cls(name, run_value, **spec)
TypeError: Experiment.init() got an unexpected keyword argument 'checkpoint_freq'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/lzy/Rocket_RL/python/main.py", line 74, in
run_experiments({
File "/home/lzy/ray/python/ray/tune/tune.py", line 1258, in run_experiments
experiments = _convert_to_experiment_list(experiments)
File "/home/lzy/ray/python/ray/tune/experiment/experiment.py", line 533, in _convert_to_experiment_list
exp_list = [
File "/home/lzy/ray/python/ray/tune/experiment/experiment.py", line 534, in
Experiment.from_json(name, spec) for name, spec in experiments.items()
File "/home/lzy/ray/python/ray/tune/experiment/experiment.py", line 335, in from_json
raise TuneError(
ray.tune.error.TuneError: Failed to load the following Tune experiment specification:
{'checkpoint_freq': 1,
'config': {'env': 'AllVar-v0',
'gamma': 0.995,
'horizon': 1000,
'min_steps_per_task': 200,
'num_sgd_iter': 30,
'num_workers': 3,
'sgd_stepsize': 5e-05,
'timesteps_per_batch': 4000},
'stop': {'episode_reward_mean': 10000,
'time_total_s': 600000,
'timesteps_total': 100000000}}.
Please check that the arguments are valid. Experiment creation failed with the following error:
Experiment.init() got an unexpected keyword argument 'checkpoint_freq'

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