In "add_to_image_history_buffer" I believe that you have to assign the result of the np.append() to the image buffer array:
self.image_history_buffer = np.append(self.image_history_buffer, images[:nb_to_add], axis=0)
Otherwise the value is not updated. I had to make the change in my implementation to get it to work
In "add_to_image_history_buffer" I believe that you have to assign the result of the np.append() to the image buffer array:
self.image_history_buffer = np.append(self.image_history_buffer, images[:nb_to_add], axis=0)
Otherwise the value is not updated. I had to make the change in my implementation to get it to work