Skip to content

Commit

Permalink
Add N_PATCHES env variable (#671)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaenzig authored Oct 9, 2024
1 parent 0e2cabe commit 4f1cbc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ data:
embeddings_transforms:
class_path: eva.core.data.transforms.Pad2DTensor
init_args:
pad_size: &N_PATCHES 500
pad_size: &N_PATCHES ${oc.env:N_PATCHES, 500}
target_transforms:
class_path: eva.core.data.transforms.dtype.ArrayToFloatTensor
val:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ data:
embeddings_transforms:
class_path: eva.core.data.transforms.Pad2DTensor
init_args:
pad_size: &N_PATCHES 200
pad_size: &N_PATCHES ${oc.env:N_PATCHES, 200}
val:
class_path: eva.datasets.MultiEmbeddingsClassificationDataset
init_args:
Expand Down

0 comments on commit 4f1cbc7

Please sign in to comment.