nilabha / FlatlandCompetition

4 stars 1 forks source link

run test #10

Open zzchuman opened 4 years ago

zzchuman commented 4 years ago

Hello, Nilabha! I want to run the flatland example codes ccppo.yaml.

I just run the $ python ./train.py -f experiments/flatland_sparse/small_v0/tree_obs_fc_net/ccppo.yaml

And something was wrong!

image

I guess maybe the module version is unsuitable! My ray version is 1.0.0, flatland-rl version is 2.2.0, tensorflow is 2.0.0.

So, Can you help me?

nilabha commented 4 years ago

Yes it is Ray version which should be 0.8.5

The versions are put in the file here https://gitlab.aicrowd.com/flatland/neurips2020-flatland-baselines/blob/master/environment-cpu.yml (you could also do a conda install using this file)

On Sun, Nov 8, 2020 at 5:02 PM zhichaozhang notifications@github.com wrote:

Hello, Nilabha! I want to run you example codes ccppo. And something was wrong!

[image: image] https://user-images.githubusercontent.com/38434094/98463811-266a3500-21f9-11eb-9b79-07b96465da3e.png

I guess maybe the module version is unsuitable! My ray version is 1.0.0, flatland-rl version is 2.2.0, tensorflow is 2.0.0.

So, Can you help me?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nilabha/FlatlandCompetition/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ3JO27OVVMPCS5U23BZSLSOZ6WXANCNFSM4TOIONVQ .

zzchuman commented 4 years ago

Thank you! I have a try!

---Original--- From: "nilabha"<notifications@github.com> Date: Sun, Nov 8, 2020 22:34 PM To: "nilabha/FlatlandCompetition"<FlatlandCompetition@noreply.github.com>; Cc: "zhichaozhang"<947660652@qq.com>;"Author"<author@noreply.github.com>; Subject: Re: [nilabha/FlatlandCompetition] run test (#10)

Yes it is Ray version which should be 0.8.5

The versions are put in the file here https://gitlab.aicrowd.com/flatland/neurips2020-flatland-baselines/blob/master/environment-cpu.yml (you could also do a conda install using this file)

On Sun, Nov 8, 2020 at 5:02 PM zhichaozhang <notifications@github.com> wrote:

> Hello, Nilabha! I want to run you example codes ccppo. And something was > wrong! > > [image: image] > <https://user-images.githubusercontent.com/38434094/98463811-266a3500-21f9-11eb-9b79-07b96465da3e.png&gt; > > I guess maybe the module version is unsuitable! My ray version is 1.0.0, > flatland-rl version is 2.2.0, tensorflow is 2.0.0. > > So, Can you help me? > > — > You are receiving this because you are subscribed to this thread. > Reply to this email directly, view it on GitHub > <https://github.com/nilabha/FlatlandCompetition/issues/10&gt;, or unsubscribe > <https://github.com/notifications/unsubscribe-auth/ABZ3JO27OVVMPCS5U23BZSLSOZ6WXANCNFSM4TOIONVQ&gt; > . >

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

zzchuman commented 4 years ago

Yes it is Ray version which should be 0.8.5 The versions are put in the file here https://gitlab.aicrowd.com/flatland/neurips2020-flatland-baselines/blob/master/environment-cpu.yml (you could also do a conda install using this file) On Sun, Nov 8, 2020 at 5:02 PM zhichaozhang @.***> wrote: Hello, Nilabha! I want to run you example codes ccppo. And something was wrong! [image: image] https://user-images.githubusercontent.com/38434094/98463811-266a3500-21f9-11eb-9b79-07b96465da3e.png I guess maybe the module version is unsuitable! My ray version is 1.0.0, flatland-rl version is 2.2.0, tensorflow is 2.0.0. So, Can you help me? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#10>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ3JO27OVVMPCS5U23BZSLSOZ6WXANCNFSM4TOIONVQ .

Thank you! I try to install ray 0.8.5, it works!
I have read the cc_transformer.py. I want to know the cc_tranformer is custom trainer or custom model?

Besides, In ray 1.0.0, the rllib has transformer class . Maybe you can have a more convendient way to implement the ccppo!

nilabha commented 4 years ago

ok, I see. This was an external contribution from Deutsche Bahn and Instadeep

cc_tranformer actually utilizes a custom trainer and a custom model. It's put under models but if you see the code has a custom trainer adapted from PPO also.

On Mon, Nov 9, 2020 at 2:32 PM zhichaozhang notifications@github.com wrote:

Yes it is Ray version which should be 0.8.5 The versions are put in the file here https://gitlab.aicrowd.com/flatland/neurips2020-flatland-baselines/blob/master/environment-cpu.yml (you could also do a conda install using this file) … <#m-8543021197080367170> On Sun, Nov 8, 2020 at 5:02 PM zhichaozhang @.***> wrote: Hello, Nilabha! I want to run you example codes ccppo. And something was wrong! [image: image] https://user-images.githubusercontent.com/38434094/98463811-266a3500-21f9-11eb-9b79-07b96465da3e.png I guess maybe the module version is unsuitable! My ray version is 1.0.0, flatland-rl version is 2.2.0, tensorflow is 2.0.0. So, Can you help me? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#10 https://github.com/nilabha/FlatlandCompetition/issues/10>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ3JO27OVVMPCS5U23BZSLSOZ6WXANCNFSM4TOIONVQ .

Thank you! I try to install ray 0.8.5, it works! I have read the cc_transformer.py. I want to know the cc_tranformer is custom trainer or custom model?

Besides, In ray 1.0.0, the rllib has transformer class . Maybe you can have a more convendient way to implement the ccppo!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/nilabha/FlatlandCompetition/issues/10#issuecomment-723872123, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ3JOYQZ2UKAPDIPVSTMK3SO6V2XANCNFSM4TOIONVQ .

zzchuman commented 4 years ago

ok, I see. This was an external contribution from Deutsche Bahn and Instadeep cctranformer actually utilizes a custom trainer and a custom model. It's put under models but if you see the code has a custom trainer adapted from PPO also. On Mon, Nov 9, 2020 at 2:32 PM zhichaozhang notifications@github.com wrote: Yes it is Ray version which should be 0.8.5 The versions are put in the file here https://gitlab.aicrowd.com/flatland/neurips2020-flatland-baselines/blob/master/environment-cpu.yml (you could also do a conda install using this file) … <#m-8543021197080367170_> On Sun, Nov 8, 2020 at 5:02 PM zhichaozhang @.***> wrote: Hello, Nilabha! I want to run you example codes ccppo. And something was wrong! [image: image] https://user-images.githubusercontent.com/38434094/98463811-266a3500-21f9-11eb-9b79-07b96465da3e.png I guess maybe the module version is unsuitable! My ray version is 1.0.0, flatland-rl version is 2.2.0, tensorflow is 2.0.0. So, Can you help me? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#10 <#10>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ3JO27OVVMPCS5U23BZSLSOZ6WXANCNFSM4TOIONVQ . Thank you! I try to install ray 0.8.5, it works! I have read the cc_transformer.py. I want to know the cc_tranformer is custom trainer or custom model? Besides, In ray 1.0.0, the rllib has transformer class . Maybe you can have a more convendient way to implement the ccppo! — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#10 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ3JOYQZ2UKAPDIPVSTMK3SO6V2XANCNFSM4TOIONVQ .

Thank you for your reply! And I have some other questions: First, a custom trainer and a custom model must together be used, right? And, in cctransformer.py the class cctransformer , it is a customer model or a custom trainer?

zzchuman commented 4 years ago

hello, can I ask you about the custom model? In your ccppo.yaml file, the custom_model is defined as cc_transformer. But, I can not find it in cc_transformer.py?