Skip to content

Commit

Permalink
Fixing unimported constant
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerce committed Oct 3, 2024
1 parent 1d54070 commit 96c14bc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion bigml/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"""
import os
import logging
import subprocess

from bigml.fields import Fields, sorted_headers, get_new_fields
Expand Down
5 changes: 1 addition & 4 deletions bigml/deepnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
deepnet.predict({"petal length": 3, "petal width": 1})
"""
import logging
import os
import warnings

Expand All @@ -56,7 +55,7 @@
from bigml.model import parse_operating_point, sort_categories
from bigml.constants import REGIONS, REGIONS_OPERATION_SETTINGS, \
DEFAULT_OPERATION_SETTINGS, REGION_SCORE_ALIAS, REGION_SCORE_THRESHOLD, \
IMAGE, DECIMALS
IMAGE, DECIMALS, IOU_REMOTE_SETTINGS

import bigml.laminar.numpy_ops as net
import bigml.laminar.preprocess_np as pp
Expand All @@ -65,12 +64,10 @@
sensenet_logging()
from sensenet.models.wrappers import create_model
from bigml.images.utils import to_relative_coordinates
from bigml.constants import IOU_REMOTE_SETTINGS
LAMINAR_VERSION = False
except Exception:
LAMINAR_VERSION = True

LOGGER = logging.getLogger('BigML')

MEAN = "mean"
STANDARD_DEVIATION = "stdev"
Expand Down
1 change: 1 addition & 0 deletions bigml/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import random
import ast
import datetime
import logging

from urllib.parse import urlparse
from unidecode import unidecode
Expand Down

0 comments on commit 96c14bc

Please sign in to comment.