Skip to content

Commit

Permalink
adding two models to be tested
Browse files Browse the repository at this point in the history
  • Loading branch information
deirdre-k committed Jun 12, 2024
1 parent 58232eb commit 3bd9b38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion brainscore_vision/models/alexnet/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
def get_model():
model = torchvision.models.alexnet(pretrained=True)
preprocessing = functools.partial(load_preprocess_images, image_size=224)
wrapper = PytorchWrapper(identifier='alexnet', model=model, preprocessing=preprocessing)
wrapper = PytorchWrapper(identifier='alexne', model=model, preprocessing=preprocessing)
wrapper.image_size = 224
return wrapper
1 change: 1 addition & 0 deletions brainscore_vision/models/alexnet_ks_torevert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from brainscore_vision.model_helpers.brain_transformation import ModelCommitment
from .model import get_model, LAYERS


model_registry['alexnet_ks_torevert'] = lambda: ModelCommitment(
identifier='alexnet',
activations_model=get_model(),
Expand Down

0 comments on commit 3bd9b38

Please sign in to comment.