This commit is contained in:
parent
4de357b6c2
commit
c056835aea
@ -911,7 +911,7 @@ class VideoTokenizer(Module):
|
|||||||
|
|
||||||
# decoder attend
|
# decoder attend
|
||||||
|
|
||||||
decoder_attend_fn = get_attend_fn(use_flex, seq_len, seq_len, special_attend_only_itself = True)
|
decoder_attend_fn = get_attend_fn(use_flex, seq_len, seq_len, causal = True, num_special_tokens = self.num_latent_tokens, special_attend_only_itself = True)
|
||||||
|
|
||||||
# decoder attention
|
# decoder attention
|
||||||
|
|
||||||
@ -1009,7 +1009,7 @@ class VideoTokenizer(Module):
|
|||||||
# modality can only attend to itself while latents can attend to everything
|
# modality can only attend to itself while latents can attend to everything
|
||||||
# similar to agent token in dynamics model
|
# similar to agent token in dynamics model
|
||||||
|
|
||||||
encoder_attend_fn = get_attend_fn(use_flex, seq_len, seq_len, special_attend_only_itself = False)
|
encoder_attend_fn = get_attend_fn(use_flex, seq_len, seq_len, causal = True, num_special_tokens = self.num_latent_tokens, special_attend_only_itself = False)
|
||||||
|
|
||||||
# encoder
|
# encoder
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "dreamer4"
|
name = "dreamer4"
|
||||||
version = "0.0.4"
|
version = "0.0.5"
|
||||||
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