1
0
mirror of https://github.com/gryf/coach.git synced 2025-12-17 11:10:20 +01:00

remove kubernetes dependency (#117)

This commit is contained in:
Gal Leibovich
2018-11-18 18:10:22 +02:00
committed by Gal Novik
parent 430e286c56
commit d4d06aaea6
8 changed files with 28 additions and 17 deletions

View File

@@ -3,7 +3,6 @@ import redis
import pickle
import uuid
import time
from kubernetes import client
from rl_coach.memories.backend.memory import MemoryBackend, MemoryBackendParameters
from rl_coach.core_types import Transition, Episode, EnvironmentSteps, EnvironmentEpisodes
@@ -48,6 +47,7 @@ class RedisPubSubBackend(MemoryBackend):
if 'namespace' not in self.params.orchestrator_params:
self.params.orchestrator_params['namespace'] = "default"
from kubernetes import client
container = client.V1Container(
name=self.redis_server_name,