Hi @miyosuda ,
Could you please suggest where is the best place to obtain the raw RGB image/frame before it is changed to grayscale etc. ? I wish to preprocess the raw frames before they are used in the algorithm.
In trainer.py self.environment.last_state seems to be the processed image frame in grayscale and also new_state in new_state, reward, terminal, pixel_change = self.environment.process(action) seems to be returning the current image frame with image = self._get_current_image().
The following function then is the one I am not sure about, what is put_pixel's functionality here?
Could you please suggest if my understanding is correct and also where exactly is the raw RGB image before resizing obtained in the maze environment? Really appreciate your inputs. thanks a lot.
Nvm, Sorted. Sorry for the spam of issues. Figured I was using lab environment but my editor navigating me to functions in the maze env. :/ Thanks for your code again.
Hi @miyosuda , Could you please suggest where is the best place to obtain the raw RGB image/frame before it is changed to grayscale etc. ? I wish to preprocess the raw frames before they are used in the algorithm.
In trainer.py
self.environment.last_state
seems to be the processed image frame in grayscale and also new_state innew_state, reward, terminal, pixel_change = self.environment.process(action)
seems to be returning the current image frame withimage = self._get_current_image()
.The following function then is the one I am not sure about, what is put_pixel's functionality here?
labenvironment.py on the other hand uses the following preprocessing:
Could you please suggest if my understanding is correct and also where exactly is the raw RGB image before resizing obtained in the maze environment? Really appreciate your inputs. thanks a lot.