Reply to this email directly, view it on GitHub, or mute the thread. You are receiving this because you authored the thread. Otherwise, if you want to keep your observation with that exact shape, then you have to define a custom policy, as the default CnnPolicy was made for images (of shape 64圆4xn) and normalization (dividing by 255.) is automatically applied in this case.Īgain, do not forget to add more context for your problem next time by filling COMPLETELY the issue template ) Subject: Re: ValueError: could not broadcast input array from shape (2) into shape (7,3,5) ( #242)Ī simple solution consists in reshaping your observation to a 1D vector, so you can use MlpPolicy on it. ValueError: could not broadcast input array from shape (2) into shape (7,1,5)įrom: Antonin RAFFIN Sunday, 24 March 2019 11:24 I tried reshaping the observation (in both step and reset methods) as obs = obs.reshape(-1)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |