Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Mar 26, 2020
1 parent ed650d3 commit db1ad56
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pl_examples/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def optimize_on_cluster(hyperparams):
"""

from pl_examples.models.lightning_module_template import LightningTemplateModel
from pl_examples.models.lightning_template import LightningTemplateModel

__all__ = [
'LightningTemplateModel'
Expand Down
2 changes: 1 addition & 1 deletion pl_examples/basic_examples/cpu_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import torch

import pytorch_lightning as pl
from pl_examples.models.lightning_module_template import LightningTemplateModel
from pl_examples.models.lightning_template import LightningTemplateModel

SEED = 2334
torch.manual_seed(SEED)
Expand Down
2 changes: 1 addition & 1 deletion pl_examples/basic_examples/gpu_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import torch

import pytorch_lightning as pl
from pl_examples.models.lightning_module_template import LightningTemplateModel
from pl_examples.models.lightning_template import LightningTemplateModel

SEED = 2334
torch.manual_seed(SEED)
Expand Down
2 changes: 1 addition & 1 deletion pl_examples/basic_examples/multi_node_ddp2_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import torch

import pytorch_lightning as pl
from pl_examples.models.lightning_module_template import LightningTemplateModel
from pl_examples.models.lightning_template import LightningTemplateModel

SEED = 2334
torch.manual_seed(SEED)
Expand Down
2 changes: 1 addition & 1 deletion pl_examples/basic_examples/multi_node_ddp_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import torch

import pytorch_lightning as pl
from pl_examples.models.lightning_module_template import LightningTemplateModel
from pl_examples.models.lightning_template import LightningTemplateModel

SEED = 2334
torch.manual_seed(SEED)
Expand Down
2 changes: 1 addition & 1 deletion pl_examples/domain_templates/semseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
import torch.nn.functional as F
import torchvision.transforms as transforms
from PIL import Image
from models.unet.model import UNet
from torch.utils.data import DataLoader, Dataset

import pytorch_lightning as pl
from pl_examples.models.unet import UNet


class KITTI(Dataset):
Expand Down

0 comments on commit db1ad56

Please sign in to comment.