Skip to content

Commit

Permalink
import cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
0x00b1 committed May 20, 2020
1 parent cbd5d15 commit 38be145
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 16 deletions.
2 changes: 1 addition & 1 deletion keras_rcnn/applications/_hollandi2019.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

import tensorflow.keras.utils
import tensorflow

import keras_rcnn.models

Expand Down
2 changes: 1 addition & 1 deletion keras_rcnn/applications/_jhung2019.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-

import numpy
import tensorflow.keras.utils
import tensorflow

import keras_rcnn.models

Expand Down
2 changes: 1 addition & 1 deletion keras_rcnn/backend/common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- coding: utf-8 -*-

import tensorflow.keras.backend
import tensorflow

import keras_rcnn.backend

Expand Down
1 change: 0 additions & 1 deletion keras_rcnn/backend/tensorflow_backend.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-

import tensorflow
import tensorflow.keras.backend


def resize(image, output_shape):
Expand Down
1 change: 0 additions & 1 deletion keras_rcnn/callbacks/_tensorboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import matplotlib.pyplot
import numpy
import tensorflow
import tensorflow.keras.callbacks

import keras_rcnn.utils

Expand Down
2 changes: 1 addition & 1 deletion keras_rcnn/datasets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json
import os

import tensorflow.keras.utils
import tensorflow


def load_data(name):
Expand Down
2 changes: 1 addition & 1 deletion keras_rcnn/datasets/dsb2018.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import json
import os.path

import tensorflow.keras.utils
import tensorflow


def load_data():
Expand Down
1 change: 0 additions & 1 deletion keras_rcnn/layers/_object_detection.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-

import tensorflow
import tensorflow.keras.backend

import keras_rcnn.backend

Expand Down
1 change: 0 additions & 1 deletion keras_rcnn/layers/_object_segmentation.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-

import tensorflow
import tensorflow.keras.backend

import keras_rcnn.backend

Expand Down
3 changes: 2 additions & 1 deletion keras_rcnn/layers/_pooling.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# -*- coding: utf-8 -*-

import keras_rcnn.backend
import tensorflow

import keras_rcnn.backend


class RegionOfInterest(tensorflow.keras.layers.Layer):
"""
Expand Down
3 changes: 1 addition & 2 deletions keras_rcnn/layers/losses/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-

import tensorflow.keras.backend
import tensorflow.keras.layers
import tensorflow

import keras_rcnn.backend
from ._mask_rcnn import RCNNMaskLoss
Expand Down
2 changes: 0 additions & 2 deletions keras_rcnn/layers/losses/_mask_rcnn.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# -*- coding: utf-8 -*-

import tensorflow
import tensorflow.keras.backend
import tensorflow.keras.layers


class RCNNMaskLoss(tensorflow.keras.layers.Layer):
Expand Down
1 change: 0 additions & 1 deletion keras_rcnn/layers/object_detection/_anchor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# -*- coding: utf-8 -*-

import tensorflow
import tensorflow.keras.backend

import keras_rcnn.backend
import keras_rcnn.layers
Expand Down
2 changes: 1 addition & 1 deletion keras_rcnn/preprocessing/_object_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import skimage.exposure
import skimage.io
import skimage.transform
import tensorflow.keras.preprocessing.image
import tensorflow


class BoundingBoxException(Exception):
Expand Down

0 comments on commit 38be145

Please sign in to comment.