summaryrefslogtreecommitdiffstats
path: root/vnfs/DAaaS
diff options
context:
space:
mode:
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