def run_command(self, command, stdin=None, stdout=None):
        devnull = open(os.devnull, 'w')
        pstdin = stdin if command[-1] == '<' else None
        pstdout = stdout if command[-1] == '>' else devnull
        command = [arg for arg in command if arg not in ['<', '>']]
        self.logger.info(self._clean_passwd("Running: %s" % ' '.join(command)))
        env = self.settings.get_env()
        env.update(settings.BACKUP_ENVIRONMENT)
        for k, v in env.items():
            env[k] = self.translate_command(v)
        updated_osenv = os.environ.copy()
        updated_osenv.update(env)
        process = Popen(command, stdin=pstdin, stdout=pstdout, env=updated_osenv)
        process.wait()
        devnull.close()
        if process.poll():
            raise CommandError("Error running: %s" % command)
pool_size is an INTEGER, not a tuple. We can only do square pooling windows.
dataset/ETHPy150Open django-dbbackup/django-dbbackup/dbbackup/dbcommands.py/DBCommands.run_command--crossover with--dataset/ETHPy150Open benanne/kaggle-galaxies/cc_layers.py/CudaConvnetPooling2DLayer.__init__