Fix PyPI package
Browse files- README.rst +1 -3
- scoutbot/__init__.py +1 -1
- scoutbot/loc/transforms/_postprocess.py +2 -2
- setup.cfg +9 -8
README.rst
CHANGED
|
@@ -61,8 +61,6 @@ The application can also be built into a Docker image and hosted on Docker Hub.
|
|
| 61 |
|
| 62 |
.. code-block:: console
|
| 63 |
|
| 64 |
-
# linux/amd64
|
| 65 |
-
|
| 66 |
docker login
|
| 67 |
|
| 68 |
export DOCKER_BUILDKIT=1
|
|
@@ -71,7 +69,7 @@ The application can also be built into a Docker image and hosted on Docker Hub.
|
|
| 71 |
|
| 72 |
docker buildx build \
|
| 73 |
-t wildme/scoutbot:latest \
|
| 74 |
-
--platform linux/
|
| 75 |
--push \
|
| 76 |
.
|
| 77 |
|
|
|
|
| 61 |
|
| 62 |
.. code-block:: console
|
| 63 |
|
|
|
|
|
|
|
| 64 |
docker login
|
| 65 |
|
| 66 |
export DOCKER_BUILDKIT=1
|
|
|
|
| 69 |
|
| 70 |
docker buildx build \
|
| 71 |
-t wildme/scoutbot:latest \
|
| 72 |
+
--platform linux/amd64 \
|
| 73 |
--push \
|
| 74 |
.
|
| 75 |
|
scoutbot/__init__.py
CHANGED
|
@@ -37,7 +37,7 @@ Notes:
|
|
| 37 |
'''
|
| 38 |
from scoutbot import agg, loc, tile, wic
|
| 39 |
|
| 40 |
-
VERSION = '0.1.
|
| 41 |
version = VERSION
|
| 42 |
__version__ = VERSION
|
| 43 |
|
|
|
|
| 37 |
'''
|
| 38 |
from scoutbot import agg, loc, tile, wic
|
| 39 |
|
| 40 |
+
VERSION = '0.1.2'
|
| 41 |
version = VERSION
|
| 42 |
__version__ = VERSION
|
| 43 |
|
scoutbot/loc/transforms/_postprocess.py
CHANGED
|
@@ -10,8 +10,6 @@ import logging
|
|
| 10 |
import torch
|
| 11 |
|
| 12 |
# from torch.autograd import Variable
|
| 13 |
-
from scoutbot.loc.transforms.detections.detection import Detection
|
| 14 |
-
|
| 15 |
from .util import BaseTransform
|
| 16 |
|
| 17 |
__all__ = [
|
|
@@ -234,6 +232,8 @@ class TensorToBrambox(BaseTransform):
|
|
| 234 |
|
| 235 |
@staticmethod
|
| 236 |
def _convert(boxes, width, height, class_label_map):
|
|
|
|
|
|
|
| 237 |
boxes[:, 0:3:2].mul_(width)
|
| 238 |
boxes[:, 0] -= boxes[:, 2] / 2
|
| 239 |
boxes[:, 1:4:2].mul_(height)
|
|
|
|
| 10 |
import torch
|
| 11 |
|
| 12 |
# from torch.autograd import Variable
|
|
|
|
|
|
|
| 13 |
from .util import BaseTransform
|
| 14 |
|
| 15 |
__all__ = [
|
|
|
|
| 232 |
|
| 233 |
@staticmethod
|
| 234 |
def _convert(boxes, width, height, class_label_map):
|
| 235 |
+
from scoutbot.loc.transforms.detections.detection import Detection
|
| 236 |
+
|
| 237 |
boxes[:, 0:3:2].mul_(width)
|
| 238 |
boxes[:, 0] -= boxes[:, 2] / 2
|
| 239 |
boxes[:, 1:4:2].mul_(height)
|
setup.cfg
CHANGED
|
@@ -18,19 +18,20 @@ packages = find:
|
|
| 18 |
platforms = any
|
| 19 |
include_package_data = True
|
| 20 |
install_requires =
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
| 22 |
numpy
|
| 23 |
-
|
| 24 |
-
torch
|
| 25 |
-
torchvision
|
| 26 |
opencv-python-headless
|
| 27 |
Pillow
|
| 28 |
-
|
| 29 |
rich
|
|
|
|
|
|
|
| 30 |
tqdm
|
| 31 |
-
|
| 32 |
-
cryptography
|
| 33 |
-
click
|
| 34 |
python_requires = >=3.7
|
| 35 |
|
| 36 |
[options.entry_points]
|
|
|
|
| 18 |
platforms = any
|
| 19 |
include_package_data = True
|
| 20 |
install_requires =
|
| 21 |
+
click
|
| 22 |
+
cryptography
|
| 23 |
+
gradio
|
| 24 |
+
imgaug
|
| 25 |
numpy
|
| 26 |
+
onnxruntime-gpu
|
|
|
|
|
|
|
| 27 |
opencv-python-headless
|
| 28 |
Pillow
|
| 29 |
+
pooch
|
| 30 |
rich
|
| 31 |
+
torch
|
| 32 |
+
torchvision
|
| 33 |
tqdm
|
| 34 |
+
wbia-utool
|
|
|
|
|
|
|
| 35 |
python_requires = >=3.7
|
| 36 |
|
| 37 |
[options.entry_points]
|