Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hellock committed Dec 28, 2020
1 parent 2ef9449 commit d63ca69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions mmcv/utils/parrots_jit.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import torch

TORCH_VERSION = torch.__version__
from .parrots_wrapper import TORCH_VERSION

if TORCH_VERSION == 'parrots':
from parrots.jit import pat as jit
Expand Down
2 changes: 1 addition & 1 deletion mmcv/utils/parrots_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import torch

from .parrots_wrapper import TORCH_VERSION
TORCH_VERSION = torch.__version__


def _get_cuda_home():
Expand Down

0 comments on commit d63ca69

Please sign in to comment.