Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ananyahjha93 authored and Borda committed Sep 17, 2020
1 parent 09d2f89 commit e774c7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion pl_bolts/models/self_supervised/swav/swav_finetuner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from argparse import ArgumentParser

from pl_bolts.models.self_supervised.swav.swav_resnet import resnet50, resnet18
from pl_bolts.datamodules import STL10DataModule, ImagenetDataModule

from pl_bolts.models.self_supervised.ssl_finetuner import SSLFineTuner
from pl_bolts.models.self_supervised.swav.swav_module import SwAV
Expand All @@ -12,6 +11,8 @@


def cli_main(): # pragma: no-cover
from pl_bolts.datamodules import STL10DataModule, ImagenetDataModule

pl.seed_everything(1234)

parser = ArgumentParser()
Expand Down
3 changes: 2 additions & 1 deletion pl_bolts/models/self_supervised/swav/swav_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from torch.optim import Adam, SGD

from pl_bolts.models.self_supervised.swav.swav_resnet import resnet50, resnet18
from pl_bolts.datamodules import STL10DataModule, ImagenetDataModule

from pl_bolts.transforms.dataset_normalizations import stl10_normalization
from pl_bolts.models.self_supervised.swav.transforms import SwAVTrainDataTransform, SwAVEvalDataTransform
Expand Down Expand Up @@ -472,6 +471,8 @@ def add_model_specific_args(parent_parser):


def cli_main():
from pl_bolts.datamodules import STL10DataModule, ImagenetDataModule

parser = ArgumentParser()

# model args
Expand Down

0 comments on commit e774c7b

Please sign in to comment.