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

Book branch problem, need your help #492

Open
JuliusMa opened this issue Nov 3, 2021 · 2 comments
Open

Book branch problem, need your help #492

JuliusMa opened this issue Nov 3, 2021 · 2 comments

Comments

@JuliusMa
Copy link

JuliusMa commented Nov 3, 2021

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

@kengz
Copy link
Owner

kengz commented Nov 13, 2021

Hi sorry we don't officially support windows. But there's a guide made by a user for windows could you please try with that and see? https://slm-lab.gitbook.io/slm-lab/setup/installation

@kengz
Copy link
Owner

kengz commented Dec 5, 2021

On second look, looks like you're running in a bash shell.
I suspect this is due to the version of ray. Could you share the output of:

conda activate lab
conda list

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

2 participants