gather expert data

This commit is contained in:
MagDish 2024-09-09 17:35:21 +08:00
parent c6c4411beb
commit 43f905e634

View File

@ -208,6 +208,7 @@ class Dribble():
if self.phase >= WIND_DOWN_STEPS - 5:
self.phase = 0
return True
if self.obs != None and self.act != None:
np.array(self.gather_expert_data.append((self.obs, self.act)), dtype=object)
size = len(self.gather_expert_data)
if size > 5e4: