Instructions to use ShaswatRobotics/world_model_test with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use ShaswatRobotics/world_model_test with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("ShaswatRobotics/world_model_test") - Notebooks
- Google Colab
- Kaggle
Update delta-iris/src/tokenizer.py
Browse files
delta-iris/src/tokenizer.py
CHANGED
|
@@ -75,7 +75,7 @@ class Tokenizer(nn.Module):
|
|
| 75 |
e = kle // (k * l)
|
| 76 |
|
| 77 |
q = q.reshape(b, t, h, w, k, l, e)
|
| 78 |
-
q = q.
|
| 79 |
q = q.reshape(b, t, e, h * k, w * l)
|
| 80 |
|
| 81 |
return q
|
|
|
|
| 75 |
e = kle // (k * l)
|
| 76 |
|
| 77 |
q = q.reshape(b, t, h, w, k, l, e)
|
| 78 |
+
q = q.permute(0, 1, 6, 2, 4, 3, 5)
|
| 79 |
q = q.reshape(b, t, e, h * k, w * l)
|
| 80 |
|
| 81 |
return q
|