oops
This commit is contained in:
parent
fb8c3793b4
commit
9efe269688
@ -2762,7 +2762,7 @@ class DynamicsWorldModel(Module):
|
|||||||
):
|
):
|
||||||
|
|
||||||
with world_model_forward_context():
|
with world_model_forward_context():
|
||||||
_, (agent_embeds, _) = self.forward(
|
_, (embeds, _) = self.forward(
|
||||||
latents = latents,
|
latents = latents,
|
||||||
signal_levels = self.max_steps - 1,
|
signal_levels = self.max_steps - 1,
|
||||||
step_sizes = step_size,
|
step_sizes = step_size,
|
||||||
@ -2774,7 +2774,7 @@ class DynamicsWorldModel(Module):
|
|||||||
return_intermediates = True
|
return_intermediates = True
|
||||||
)
|
)
|
||||||
|
|
||||||
agent_embeds = agent_embeds[..., agent_index, :]
|
agent_embeds = embeds.agent[..., agent_index, :]
|
||||||
|
|
||||||
# maybe detach agent embed
|
# maybe detach agent embed
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "dreamer4"
|
name = "dreamer4"
|
||||||
version = "0.1.22"
|
version = "0.1.23"
|
||||||
description = "Dreamer 4"
|
description = "Dreamer 4"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Phil Wang", email = "lucidrains@gmail.com" }
|
{ name = "Phil Wang", email = "lucidrains@gmail.com" }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user