Skip to content

Book branch problem, need your help #492

@JuliusMa

Description

@JuliusMa

Describe the bug
In the SLM_Lab-book branch,I run the reinfoce-cartpolp with search mode.There is a exception coming out . It happened on the search.py when worked on the line of 129 which is"for ray_trial in ray_trials"

To Reproduce

  1. windows os
  2. on the book branch

Error logs

<class 'ray.tune.analysis.experiment_analysis.ExperimentAnalysis'>
Traceback (most recent call last):
File "D:/PythonProject/SLM-Lab-book/run_lab.py", line 99, in
main()
File "D:/PythonProject/SLM-Lab-book/run_lab.py", line 91, in main
get_spec_and_run(*args)
File "D:/PythonProject/SLM-Lab-book/run_lab.py", line 75, in get_spec_and_run
run_spec(spec, lab_mode)
File "D:/PythonProject/SLM-Lab-book/run_lab.py", line 55, in run_spec
Experiment(spec).run()
File "D:\PythonProject\SLM-Lab-book\slm_lab\experiment\control.py", line 204, in run
trial_data_dict = search.run_ray_search(self.spec)
File "D:\PythonProject\SLM-Lab-book\slm_lab\experiment\search.py", line 130, in run_ray_search
for ray_trial in ray_trials:
TypeError: 'ExperimentAnalysis' object is not iterable

problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions