num_episodes def downsample(state)return cv resize(state( )interpolation=cv inter_linear)[nonedef main()create the game environment at the start of your main function and seed the environment so that the results are reproducible/ataribot/bot_ _dqn py def main()env gym make('spaceinvaders- 'create the game env seed( make results reproducible directly after the environment seedinitialize an empty list to hold the rewards/ataribot/bot_ _dqn py def main()env gym make('spaceinvaders- 'create the game env seed( make results reproducible