We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3dd5e5 commit 089011bCopy full SHA for 089011b
examples/autoencoder.py
@@ -88,6 +88,11 @@ def iterate_dataset(data_loader):
88
89
print("baseline")
90
torch.random.manual_seed(seed)
91
-model = SimpleVQAutoEncoder(codebook_size=num_codes).to(device)
+
92
+model = SimpleVQAutoEncoder(
93
+ codebook_size=num_codes,
94
+ rotation_trick=True
95
+).to(device)
96
97
opt = torch.optim.AdamW(model.parameters(), lr=lr)
98
train(model, train_dataset, train_iterations=train_iter)
pyproject.toml
@@ -1,6 +1,6 @@
1
[project]
2
name = "vector-quantize-pytorch"
3
-version = "1.17.8"
+version = "1.18.0"
4
description = "Vector Quantization - Pytorch"
5
authors = [
6
{ name = "Phil Wang", email = "lucidrains@gmail.com" }
0 commit comments