fix task embed in presence of multiple agent tokens
This commit is contained in:
parent
4c2ed100a3
commit
b62c08be65
@ -1519,7 +1519,7 @@ class DynamicsWorldModel(Module):
|
||||
assert self.num_tasks > 0
|
||||
|
||||
task_embeds = self.task_embed(tasks)
|
||||
agent_tokens = agent_tokens + task_embeds
|
||||
agent_tokens = einx.add('b ... d, b d', agent_tokens, task_embeds)
|
||||
|
||||
# maybe evolution
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user