summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-23 16:06:14 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-23 16:06:14 +0100
commitb8c5101a920275687fdab980048cb4dae5aa902d (patch)
tree00ed89ab3fe8d77085e3d8d24647f289863cb9fe /vnfs/DAaaS
parent00107ed0ee9911ac761a544bada794a1ebb26ddf (diff)
Removing unused imports in python scripts
Removing according to pylint report. Change-Id: I2296b923a71c53347afcd0eb11d1c07b1400570f Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'vnfs/DAaaS')
-rwxr-xr-xvnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/main.py3
-rwxr-xr-xvnfs/DAaaS/sample-apps/sample-minio-save-model/build/save-model-to-minio.py2
-rw-r--r--vnfs/DAaaS/sample-apps/training/sample-horovod-app/keras_mnist_advanced_modified.py5
3 files changed, 0 insertions, 10 deletions
diff --git a/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/main.py b/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/main.py
index 8d013b40..2fbe0515 100755
--- a/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/main.py
+++ b/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/main.py
@@ -3,9 +3,6 @@
# from .consumer.CustomKafkaConsumer import CustomKafkaConsumer
# from .producer.CustomKafkaProducer import CustomKafkaProducer
-import sys
-import os, threading
-import traceback
import json
import concurrent.futures
import logging
diff --git a/vnfs/DAaaS/sample-apps/sample-minio-save-model/build/save-model-to-minio.py b/vnfs/DAaaS/sample-apps/sample-minio-save-model/build/save-model-to-minio.py
index 1963cd3d..c5198471 100755
--- a/vnfs/DAaaS/sample-apps/sample-minio-save-model/build/save-model-to-minio.py
+++ b/vnfs/DAaaS/sample-apps/sample-minio-save-model/build/save-model-to-minio.py
@@ -22,9 +22,7 @@
# python imports
-import json
import os
-import time
from minio import Minio
from minio.error import ResponseError
diff --git a/vnfs/DAaaS/sample-apps/training/sample-horovod-app/keras_mnist_advanced_modified.py b/vnfs/DAaaS/sample-apps/training/sample-horovod-app/keras_mnist_advanced_modified.py
index fa39cb6a..7cfa7045 100644
--- a/vnfs/DAaaS/sample-apps/training/sample-horovod-app/keras_mnist_advanced_modified.py
+++ b/vnfs/DAaaS/sample-apps/training/sample-horovod-app/keras_mnist_advanced_modified.py
@@ -1,5 +1,4 @@
from __future__ import print_function
-import keras
import os
from tensorflow.keras.datasets import mnist
from tensorflow.keras.models import Sequential
@@ -7,10 +6,6 @@ from tensorflow.keras.layers import Dense, Dropout, Flatten
from tensorflow.keras.layers import Conv2D, MaxPooling2D
from tensorflow.keras.preprocessing.image import ImageDataGenerator
from tensorflow.keras import backend as K
-from tensorflow_estimator.python.estimator.export import export as export_helpers
-from tensorflow.python.saved_model import builder as saved_model_builder
-from tensorflow.python.saved_model import tag_constants, signature_constants
-from tensorflow.python.saved_model.signature_def_utils_impl import predict_signature_def
import tensorflow as tf
import horovod.tensorflow.keras as hvd