From 3d6df0985dbe5c3a27c6a866a7db02f2e4803fa2 Mon Sep 17 00:00:00 2001 From: Meghna Natraj Date: Mon, 10 Feb 2020 17:49:39 -0800 Subject: [PATCH] Fix import path issues when running tensorflow/examples/speech_commands/test_streaming_accuracy.py PiperOrigin-RevId: 294345902 Change-Id: Ib8a1d489275bc2ed5c0044f4aabe21fdb373b4e0 --- tensorflow/examples/speech_commands/freeze.py | 4 ++-- .../examples/speech_commands/generate_streaming_test_wav.py | 4 ++-- tensorflow/examples/speech_commands/train.py | 4 ++-- tensorflow/examples/speech_commands/wav_to_features.py | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tensorflow/examples/speech_commands/freeze.py b/tensorflow/examples/speech_commands/freeze.py index 1cc7138cebf..d12b39ad1b0 100644 --- a/tensorflow/examples/speech_commands/freeze.py +++ b/tensorflow/examples/speech_commands/freeze.py @@ -45,8 +45,8 @@ import sys import tensorflow as tf from tensorflow.python.ops import gen_audio_ops as audio_ops -import input_data -import models +import tensorflow.examples.speech_commands.input_data as input_data +import tensorflow.examples.speech_commands.models as models from tensorflow.python.framework import graph_util # If it's available, load the specialized feature generator. If this doesn't diff --git a/tensorflow/examples/speech_commands/generate_streaming_test_wav.py b/tensorflow/examples/speech_commands/generate_streaming_test_wav.py index d60183b447d..4d363a92a77 100644 --- a/tensorflow/examples/speech_commands/generate_streaming_test_wav.py +++ b/tensorflow/examples/speech_commands/generate_streaming_test_wav.py @@ -46,8 +46,8 @@ import sys import numpy as np import tensorflow as tf -import input_data -import models +import tensorflow.examples.speech_commands.input_data as input_data +import tensorflow.examples.speech_commands.models as models FLAGS = None diff --git a/tensorflow/examples/speech_commands/train.py b/tensorflow/examples/speech_commands/train.py index 1ce386c5ee0..2ad30fab857 100644 --- a/tensorflow/examples/speech_commands/train.py +++ b/tensorflow/examples/speech_commands/train.py @@ -78,8 +78,8 @@ import numpy as np from six.moves import xrange # pylint: disable=redefined-builtin import tensorflow as tf -import input_data -import models +import tensorflow.examples.speech_commands.input_data as input_data +import tensorflow.examples.speech_commands.models as models from tensorflow.python.platform import gfile FLAGS = None diff --git a/tensorflow/examples/speech_commands/wav_to_features.py b/tensorflow/examples/speech_commands/wav_to_features.py index 2dbe3d21228..9ed02b7ab5d 100644 --- a/tensorflow/examples/speech_commands/wav_to_features.py +++ b/tensorflow/examples/speech_commands/wav_to_features.py @@ -37,8 +37,8 @@ import sys import tensorflow as tf -import input_data -import models +import tensorflow.examples.speech_commands.input_data as input_data +import tensorflow.examples.speech_commands.models as models from tensorflow.python.platform import gfile FLAGS = None