Skip to content

Commit 96c14bc

Browse files
committed
Fixing unimported constant
1 parent 1d54070 commit 96c14bc

File tree

3 files changed

+2
-5
lines changed

3 files changed

+2
-5
lines changed

bigml/dataset.py

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
2020
"""
2121
import os
22-
import logging
2322
import subprocess
2423

2524
from bigml.fields import Fields, sorted_headers, get_new_fields

bigml/deepnet.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@
4040
deepnet.predict({"petal length": 3, "petal width": 1})
4141
4242
"""
43-
import logging
4443
import os
4544
import warnings
4645

@@ -56,7 +55,7 @@
5655
from bigml.model import parse_operating_point, sort_categories
5756
from bigml.constants import REGIONS, REGIONS_OPERATION_SETTINGS, \
5857
DEFAULT_OPERATION_SETTINGS, REGION_SCORE_ALIAS, REGION_SCORE_THRESHOLD, \
59-
IMAGE, DECIMALS
58+
IMAGE, DECIMALS, IOU_REMOTE_SETTINGS
6059

6160
import bigml.laminar.numpy_ops as net
6261
import bigml.laminar.preprocess_np as pp
@@ -65,12 +64,10 @@
6564
sensenet_logging()
6665
from sensenet.models.wrappers import create_model
6766
from bigml.images.utils import to_relative_coordinates
68-
from bigml.constants import IOU_REMOTE_SETTINGS
6967
LAMINAR_VERSION = False
7068
except Exception:
7169
LAMINAR_VERSION = True
7270

73-
LOGGER = logging.getLogger('BigML')
7471

7572
MEAN = "mean"
7673
STANDARD_DEVIATION = "stdev"

bigml/util.py

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
import random
2929
import ast
3030
import datetime
31+
import logging
3132

3233
from urllib.parse import urlparse
3334
from unidecode import unidecode

0 commit comments

Comments
 (0)