bluemellophone commited on
Commit
5a07495
·
unverified ·
1 Parent(s): 3f2c4c3

Fix imports in TPLs

Browse files
.github/workflows/python-publish.yml CHANGED
@@ -1,7 +1,9 @@
1
  name: Wheel
2
 
3
- # Build on every branch push, tag push, and pull request change:
4
- on: push
 
 
5
 
6
  jobs:
7
 
 
1
  name: Wheel
2
 
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
 
8
  jobs:
9
 
scoutbot/__init__.py CHANGED
@@ -46,7 +46,7 @@ how the entire pipeline can be run on tiles or images, respectively.
46
  '''
47
  from scoutbot import agg, loc, tile, wic
48
 
49
- VERSION = '0.1.4'
50
  version = VERSION
51
  __version__ = VERSION
52
 
 
46
  '''
47
  from scoutbot import agg, loc, tile, wic
48
 
49
+ VERSION = '0.1.5'
50
  version = VERSION
51
  __version__ = VERSION
52
 
scoutbot/loc/transforms/__init__.py CHANGED
@@ -4,11 +4,13 @@
4
  # Copyright EAVISE
5
  #
6
 
7
- from ._postprocess import ( # NOQA
 
 
8
  GetBoundingBoxes,
9
  NonMaxSupression,
10
  ReverseLetterbox,
11
  TensorToBrambox,
12
  )
13
- from ._preprocess import Letterbox # NOQA
14
- from .util import Compose # NOQA
 
4
  # Copyright EAVISE
5
  #
6
 
7
+ from scoutbot.loc.transforms import annotations # NOQA
8
+ from scoutbot.loc.transforms import detections # NOQA
9
+ from scoutbot.loc.transforms._postprocess import ( # NOQA
10
  GetBoundingBoxes,
11
  NonMaxSupression,
12
  ReverseLetterbox,
13
  TensorToBrambox,
14
  )
15
+ from scoutbot.loc.transforms._preprocess import Letterbox # NOQA
16
+ from scoutbot.loc.transforms.util import Compose # NOQA
scoutbot/loc/transforms/_postprocess.py CHANGED
@@ -10,7 +10,7 @@ import logging
10
  import torch
11
 
12
  # from torch.autograd import Variable
13
- from .util import BaseTransform
14
 
15
  __all__ = [
16
  'GetBoundingBoxes',
 
10
  import torch
11
 
12
  # from torch.autograd import Variable
13
+ from scoutbot.loc.transforms.util import BaseTransform
14
 
15
  __all__ = [
16
  'GetBoundingBoxes',
scoutbot/loc/transforms/_preprocess.py CHANGED
@@ -11,7 +11,7 @@ import logging
11
  import numpy as np
12
  from PIL import Image, ImageOps
13
 
14
- from .util import BaseMultiTransform
15
 
16
  log = logging.getLogger(__name__)
17
 
 
11
  import numpy as np
12
  from PIL import Image, ImageOps
13
 
14
+ from scoutbot.loc.transforms.util import BaseMultiTransform
15
 
16
  log = logging.getLogger(__name__)
17