Skip to content

Commit 1a1f68d

Browse files
Merge pull request #17 from didier-durand/fix-typos
fixing typos in various texts
2 parents c56bfa3 + f9e7e5b commit 1a1f68d

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ python -m notebooks.vjepa2_demo
310310

311311
### Probe-based evaluation
312312

313-
Probe-based evaluation consist in training an attentive probe on top of frozen V-JEPA 2 features. We provide training scripts for training your own probes, and checkpoints to run inference directly.
313+
Probe-based evaluation consists in training an attentive probe on top of frozen V-JEPA 2 features. We provide training scripts for training your own probes, and checkpoints to run inference directly.
314314

315315
#### Training probes
316316

app/vjepa_droid/droid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def __getitem__(self, index):
127127
buffer, actions, states, extrinsics, indices = self.loadvideo_decord(path)
128128
loaded_video = True
129129
except Exception as e:
130-
logger.info(f"Ecountered exception when loading video {path=} {e=}")
130+
logger.info(f"Encountered exception when loading video {path=} {e=}")
131131
loaded_video = False
132132
index = np.random.randint(self.__len__())
133133
path = self.samples[index]

evals/action_anticipation_frozen/epickitchens.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def get_dataset_size(shards_list):
5555

5656

5757
def log_and_continue(exn):
58-
"""Call in an exception handler to ignore any exception, isssue a warning, and continue."""
58+
"""Call in an exception handler to ignore any exception, issue a warning, and continue."""
5959
logging.warning(f"Handling webdataset error ({repr(exn)}). Ignoring.")
6060
return True
6161

evals/image_classification_frozen/eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ def make_dataloader(
367367
normalization = DEFAULT_NORMALIZATION
368368

369369
if training:
370-
logger.info("implementing auto-agument strategy")
370+
logger.info("implementing auto-augment strategy")
371371
transform = timm_make_transforms(
372372
input_size=img_size,
373373
is_training=training,

notebooks/utils/mpc_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def cem(
4848
:param context_frame: [B=1, T=1, HW, D]
4949
:param goal_frame: [B=1, T=1, HW, D]
5050
:param world_model: f(context_frame, action) -> next_frame [B, 1, HW, D]
51-
:return: [B=1, rollout, 7] an action trjectory over rollout horizon
51+
:return: [B=1, rollout, 7] an action trajectory over rollout horizon
5252
5353
Cross-Entropy Method
5454
-----------------------

src/datasets/utils/dataloader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def _next_data(self):
213213
continue
214214

215215
if idx != self._rcvd_idx:
216-
# Tombstone to recieve later
216+
# Tombstone to receive later
217217
self._task_info[idx] = None
218218
if isinstance(data, ExceptionWrapper):
219219
data.reraise()

src/datasets/utils/video/randaugment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,10 +494,10 @@ def rand_augment_transform(config_str, hparams):
494494
Create a RandAugment transform
495495
:param config_str: String defining configuration of random augmentation. Consists of multiple sections separated by
496496
dashes ('-'). The first section defines the specific variant of rand augment (currently only 'rand'). The remaining
497-
sections, not order sepecific determine
497+
sections, not order specific determine
498498
'm' - integer magnitude of rand augment
499499
'n' - integer num layers (number of transform ops selected per image)
500-
'w' - integer probabiliy weight index (index of a set of weights to influence choice of op)
500+
'w' - integer probability weight index (index of a set of weights to influence choice of op)
501501
'mstd' - float std deviation of magnitude noise applied
502502
'inc' - integer (bool), use augmentations that increase in severity with magnitude (default: 0)
503503
Ex 'rand-m9-n3-mstd0.5' results in RandAugment with magnitude 9, num_layers 3, magnitude_std 0.5

src/models/ac_predictor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ def forward(self, x, actions, states, extrinsics=None):
137137
"""
138138
:param x: context tokens
139139
"""
140-
# Map tokens to pedictor dimensions
140+
# Map tokens to predictor dimensions
141141
x = self.predictor_embed(x)
142142
B, N_ctxt, D = x.size()
143143
T = N_ctxt // (self.grid_height * self.grid_width)

0 commit comments

Comments
 (0)