This commit is contained in:
lucidrains 2025-10-16 07:03:51 -07:00
parent ec18bc0fa4
commit 517ef6b94b
2 changed files with 3 additions and 3 deletions

View File

@ -2032,7 +2032,7 @@ class DynamicsWorldModel(Module):
# pack to tokens for attending # pack to tokens for attending
tokens, packed_tokens_shape = pack([flow_token, space_tokens, registers, action_tokens, agent_tokens], 'b t * d') tokens, packed_tokens_shape = pack([flow_token, space_tokens, registers, action_tokens, reward_tokens, agent_tokens], 'b t * d')
# attend functions for space and time # attend functions for space and time
@ -2087,7 +2087,7 @@ class DynamicsWorldModel(Module):
# unpack # unpack
flow_token, space_tokens, register_tokens, action_tokens, agent_tokens = unpack(tokens, packed_tokens_shape, 'b t * d') flow_token, space_tokens, register_tokens, action_tokens, reward_tokens, agent_tokens = unpack(tokens, packed_tokens_shape, 'b t * d')
# pooling # pooling

View File

@ -1,6 +1,6 @@
[project] [project]
name = "dreamer4" name = "dreamer4"
version = "0.0.21" version = "0.0.22"
description = "Dreamer 4" description = "Dreamer 4"
authors = [ authors = [
{ name = "Phil Wang", email = "lucidrains@gmail.com" } { name = "Phil Wang", email = "lucidrains@gmail.com" }