Skip to content

Commit

Permalink
enable unverified SSL for scaling models (#1263)
Browse files Browse the repository at this point in the history
  • Loading branch information
akgokce authored Sep 25, 2024
1 parent d02f31c commit a89c9a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions brainscore_vision/models/scaling_models/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import functools
import json
from pathlib import Path
import ssl

import torchvision.models
import torch
Expand All @@ -17,6 +18,9 @@
import albumentations as A
from albumentations.pytorch import ToTensorV2

# Disable SSL verification
ssl._create_default_https_context = ssl._create_unverified_context

BIBTEX = """"""


Expand Down

0 comments on commit a89c9a9

Please sign in to comment.