sherjilozair / dqn

Basic DQN implementation
MIT License
217 stars 72 forks source link

Add dim_ordering='tf' as parameter to Conv2D #6

Open ghost opened 8 years ago

ghost commented 8 years ago

Since atari env uses (dim_1, dim_2, channels) as image representation, convolution2D needs to take dim_ordering parameter as 'tf', not 'th' which is default which assumes first dim as channels (RGB). Remove unnecessary imports and empty lines in the end.