From b5be7701ca7d2045186bb8aa6ffea5caacc6bfba Mon Sep 17 00:00:00 2001 From: artzai <artzai.picon@tecnalia.com> Date: Tue, 3 Sep 2019 11:29:07 +0200 Subject: [PATCH] support to run in collab --- house_prices_estimation_example_data.py | 2 +- house_prices_estimation_example_image.py | 2 +- house_prices_estimation_example_image_and_data.py | 2 +- set_python_path.py | 9 --------- 4 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 set_python_path.py diff --git a/house_prices_estimation_example_data.py b/house_prices_estimation_example_data.py index 418f783..c461487 100644 --- a/house_prices_estimation_example_data.py +++ b/house_prices_estimation_example_data.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -import set_python_path +# import set_python_path from tensorflow_core.python.keras.engine.input_layer import Input from tensorflow_core.python.keras.layers.core import Dense, Dropout from tensorflow_core.python.keras.models import Sequential, Model diff --git a/house_prices_estimation_example_image.py b/house_prices_estimation_example_image.py index 9a4d731..7612f1a 100644 --- a/house_prices_estimation_example_image.py +++ b/house_prices_estimation_example_image.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- import os -import set_python_path +# import set_python_path from tensorflow_core.python.keras.datasets import cifar10 from tensorflow_core.python.keras.engine.input_layer import Input from tensorflow_core.python.keras.layers.convolutional import Conv2D diff --git a/house_prices_estimation_example_image_and_data.py b/house_prices_estimation_example_image_and_data.py index 32e629f..3d63008 100644 --- a/house_prices_estimation_example_image_and_data.py +++ b/house_prices_estimation_example_image_and_data.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -import set_python_path +# import set_python_path from tensorflow_core.python.keras.layers.merge import Concatenate from house_prices_estimation_example_data import generate_simple_regression_model from house_prices_estimation_example_image import generate_simple_cnn_regression_model diff --git a/set_python_path.py b/set_python_path.py deleted file mode 100644 index f78b3b7..0000000 --- a/set_python_path.py +++ /dev/null @@ -1,9 +0,0 @@ -# -*- coding: utf-8 -*- -__author__ = 106360 - -import sys -import os - -curr_path = os.path.dirname(os.path.realpath(__file__)) -sys.path.append(curr_path) - -- GitLab