Commit d07447a3 authored by Guang Yang's avatar Guang Yang Committed by Sergio Guadarrama
Browse files

comment out deps on "//tensorflow" (#2680)

parent 71349a10
...@@ -13,7 +13,7 @@ py_library( ...@@ -13,7 +13,7 @@ py_library(
name = "dataset_utils", name = "dataset_utils",
srcs = ["datasets/dataset_utils.py"], srcs = ["datasets/dataset_utils.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -36,7 +36,7 @@ py_binary( ...@@ -36,7 +36,7 @@ py_binary(
srcs = ["datasets/build_imagenet_data.py"], srcs = ["datasets/build_imagenet_data.py"],
deps = [ deps = [
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -46,7 +46,7 @@ py_library( ...@@ -46,7 +46,7 @@ py_library(
deps = [ deps = [
":dataset_utils", ":dataset_utils",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -55,7 +55,7 @@ py_library( ...@@ -55,7 +55,7 @@ py_library(
srcs = ["datasets/download_and_convert_flowers.py"], srcs = ["datasets/download_and_convert_flowers.py"],
deps = [ deps = [
":dataset_utils", ":dataset_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -65,7 +65,7 @@ py_library( ...@@ -65,7 +65,7 @@ py_library(
deps = [ deps = [
":dataset_utils", ":dataset_utils",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -76,7 +76,7 @@ py_binary( ...@@ -76,7 +76,7 @@ py_binary(
":download_and_convert_cifar10", ":download_and_convert_cifar10",
":download_and_convert_flowers", ":download_and_convert_flowers",
":download_and_convert_mnist", ":download_and_convert_mnist",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -85,7 +85,7 @@ py_binary( ...@@ -85,7 +85,7 @@ py_binary(
srcs = ["datasets/cifar10.py"], srcs = ["datasets/cifar10.py"],
deps = [ deps = [
":dataset_utils", ":dataset_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -94,7 +94,7 @@ py_binary( ...@@ -94,7 +94,7 @@ py_binary(
srcs = ["datasets/flowers.py"], srcs = ["datasets/flowers.py"],
deps = [ deps = [
":dataset_utils", ":dataset_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -103,7 +103,7 @@ py_binary( ...@@ -103,7 +103,7 @@ py_binary(
srcs = ["datasets/imagenet.py"], srcs = ["datasets/imagenet.py"],
deps = [ deps = [
":dataset_utils", ":dataset_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -112,7 +112,7 @@ py_binary( ...@@ -112,7 +112,7 @@ py_binary(
srcs = ["datasets/mnist.py"], srcs = ["datasets/mnist.py"],
deps = [ deps = [
":dataset_utils", ":dataset_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -131,7 +131,7 @@ py_library( ...@@ -131,7 +131,7 @@ py_library(
name = "model_deploy", name = "model_deploy",
srcs = ["deployment/model_deploy.py"], srcs = ["deployment/model_deploy.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -142,7 +142,7 @@ py_test( ...@@ -142,7 +142,7 @@ py_test(
deps = [ deps = [
":model_deploy", ":model_deploy",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -150,7 +150,7 @@ py_library( ...@@ -150,7 +150,7 @@ py_library(
name = "cifarnet_preprocessing", name = "cifarnet_preprocessing",
srcs = ["preprocessing/cifarnet_preprocessing.py"], srcs = ["preprocessing/cifarnet_preprocessing.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -158,8 +158,8 @@ py_library( ...@@ -158,8 +158,8 @@ py_library(
name = "inception_preprocessing", name = "inception_preprocessing",
srcs = ["preprocessing/inception_preprocessing.py"], srcs = ["preprocessing/inception_preprocessing.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
"//tensorflow/python:control_flow_ops", # "//tensorflow/python:control_flow_ops",
], ],
) )
...@@ -167,7 +167,7 @@ py_library( ...@@ -167,7 +167,7 @@ py_library(
name = "lenet_preprocessing", name = "lenet_preprocessing",
srcs = ["preprocessing/lenet_preprocessing.py"], srcs = ["preprocessing/lenet_preprocessing.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -175,7 +175,7 @@ py_library( ...@@ -175,7 +175,7 @@ py_library(
name = "vgg_preprocessing", name = "vgg_preprocessing",
srcs = ["preprocessing/vgg_preprocessing.py"], srcs = ["preprocessing/vgg_preprocessing.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -187,7 +187,7 @@ py_library( ...@@ -187,7 +187,7 @@ py_library(
":inception_preprocessing", ":inception_preprocessing",
":lenet_preprocessing", ":lenet_preprocessing",
":vgg_preprocessing", ":vgg_preprocessing",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -215,7 +215,9 @@ py_library( ...@@ -215,7 +215,9 @@ py_library(
name = "alexnet", name = "alexnet",
srcs = ["nets/alexnet.py"], srcs = ["nets/alexnet.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = ["//tensorflow"], deps = [
# "//tensorflow"
],
) )
py_test( py_test(
...@@ -225,7 +227,7 @@ py_test( ...@@ -225,7 +227,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":alexnet", ":alexnet",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -233,7 +235,7 @@ py_library( ...@@ -233,7 +235,7 @@ py_library(
name = "cifarnet", name = "cifarnet",
srcs = ["nets/cifarnet.py"], srcs = ["nets/cifarnet.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -242,7 +244,7 @@ py_library( ...@@ -242,7 +244,7 @@ py_library(
srcs = ["nets/cyclegan.py"], srcs = ["nets/cyclegan.py"],
deps = [ deps = [
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -253,7 +255,7 @@ py_test( ...@@ -253,7 +255,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":cyclegan", ":cyclegan",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -261,7 +263,7 @@ py_library( ...@@ -261,7 +263,7 @@ py_library(
name = "dcgan", name = "dcgan",
srcs = ["nets/dcgan.py"], srcs = ["nets/dcgan.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -272,7 +274,7 @@ py_test( ...@@ -272,7 +274,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":dcgan", ":dcgan",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -293,7 +295,9 @@ py_library( ...@@ -293,7 +295,9 @@ py_library(
name = "inception_utils", name = "inception_utils",
srcs = ["nets/inception_utils.py"], srcs = ["nets/inception_utils.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = ["//tensorflow"], deps = [
# "//tensorflow"
],
) )
py_library( py_library(
...@@ -302,7 +306,7 @@ py_library( ...@@ -302,7 +306,7 @@ py_library(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":inception_utils", ":inception_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -312,7 +316,7 @@ py_library( ...@@ -312,7 +316,7 @@ py_library(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":inception_utils", ":inception_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -322,7 +326,7 @@ py_library( ...@@ -322,7 +326,7 @@ py_library(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":inception_utils", ":inception_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -332,7 +336,7 @@ py_library( ...@@ -332,7 +336,7 @@ py_library(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":inception_utils", ":inception_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -340,7 +344,9 @@ py_library( ...@@ -340,7 +344,9 @@ py_library(
name = "inception_resnet_v2", name = "inception_resnet_v2",
srcs = ["nets/inception_resnet_v2.py"], srcs = ["nets/inception_resnet_v2.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = ["//tensorflow"], deps = [
# "//tensorflow"
],
) )
py_test( py_test(
...@@ -352,7 +358,7 @@ py_test( ...@@ -352,7 +358,7 @@ py_test(
deps = [ deps = [
":inception", ":inception",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -365,7 +371,7 @@ py_test( ...@@ -365,7 +371,7 @@ py_test(
deps = [ deps = [
":inception", ":inception",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -378,7 +384,7 @@ py_test( ...@@ -378,7 +384,7 @@ py_test(
deps = [ deps = [
":inception", ":inception",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -390,7 +396,7 @@ py_test( ...@@ -390,7 +396,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":inception", ":inception",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -402,7 +408,7 @@ py_test( ...@@ -402,7 +408,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":inception", ":inception",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -410,7 +416,7 @@ py_library( ...@@ -410,7 +416,7 @@ py_library(
name = "lenet", name = "lenet",
srcs = ["nets/lenet.py"], srcs = ["nets/lenet.py"],
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -418,7 +424,9 @@ py_library( ...@@ -418,7 +424,9 @@ py_library(
name = "mobilenet_v1", name = "mobilenet_v1",
srcs = ["nets/mobilenet_v1.py"], srcs = ["nets/mobilenet_v1.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = ["//tensorflow"], deps = [
# "//tensorflow"
],
) )
py_test( py_test(
...@@ -430,7 +438,7 @@ py_test( ...@@ -430,7 +438,7 @@ py_test(
deps = [ deps = [
":mobilenet_v1", ":mobilenet_v1",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -439,7 +447,7 @@ py_library( ...@@ -439,7 +447,7 @@ py_library(
srcs = ["nets/nasnet/nasnet_utils.py"], srcs = ["nets/nasnet/nasnet_utils.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -449,7 +457,7 @@ py_library( ...@@ -449,7 +457,7 @@ py_library(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":nasnet_utils", ":nasnet_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -460,7 +468,7 @@ py_test( ...@@ -460,7 +468,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":nasnet_utils", ":nasnet_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -472,7 +480,7 @@ py_test( ...@@ -472,7 +480,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":nasnet", ":nasnet",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -480,7 +488,9 @@ py_library( ...@@ -480,7 +488,9 @@ py_library(
name = "overfeat", name = "overfeat",
srcs = ["nets/overfeat.py"], srcs = ["nets/overfeat.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = ["//tensorflow"], deps = [
# "//tensorflow"
],
) )
py_test( py_test(
...@@ -490,7 +500,7 @@ py_test( ...@@ -490,7 +500,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":overfeat", ":overfeat",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -498,7 +508,9 @@ py_library( ...@@ -498,7 +508,9 @@ py_library(
name = "pix2pix", name = "pix2pix",
srcs = ["nets/pix2pix.py"], srcs = ["nets/pix2pix.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = ["//tensorflow"], deps = [
# "//tensorflow"
],
) )
py_test( py_test(
...@@ -507,7 +519,7 @@ py_test( ...@@ -507,7 +519,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":pix2pix", ":pix2pix",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -515,7 +527,9 @@ py_library( ...@@ -515,7 +527,9 @@ py_library(
name = "resnet_utils", name = "resnet_utils",
srcs = ["nets/resnet_utils.py"], srcs = ["nets/resnet_utils.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = ["//tensorflow"], deps = [
# "//tensorflow"
],
) )
py_library( py_library(
...@@ -524,7 +538,7 @@ py_library( ...@@ -524,7 +538,7 @@ py_library(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":resnet_utils", ":resnet_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -538,7 +552,7 @@ py_test( ...@@ -538,7 +552,7 @@ py_test(
":resnet_utils", ":resnet_utils",
":resnet_v1", ":resnet_v1",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -548,7 +562,7 @@ py_library( ...@@ -548,7 +562,7 @@ py_library(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":resnet_utils", ":resnet_utils",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -562,7 +576,7 @@ py_test( ...@@ -562,7 +576,7 @@ py_test(
":resnet_utils", ":resnet_utils",
":resnet_v2", ":resnet_v2",
# "//numpy", # "//numpy",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -570,7 +584,9 @@ py_library( ...@@ -570,7 +584,9 @@ py_library(
name = "vgg", name = "vgg",
srcs = ["nets/vgg.py"], srcs = ["nets/vgg.py"],
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = ["//tensorflow"], deps = [
# "//tensorflow"
],
) )
py_test( py_test(
...@@ -580,7 +596,7 @@ py_test( ...@@ -580,7 +596,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":vgg", ":vgg",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -589,7 +605,7 @@ py_library( ...@@ -589,7 +605,7 @@ py_library(
srcs = ["nets/nets_factory.py"], srcs = ["nets/nets_factory.py"],
deps = [ deps = [
":nets", ":nets",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -601,7 +617,7 @@ py_test( ...@@ -601,7 +617,7 @@ py_test(
srcs_version = "PY2AND3", srcs_version = "PY2AND3",
deps = [ deps = [
":nets_factory", ":nets_factory",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -613,7 +629,7 @@ py_binary( ...@@ -613,7 +629,7 @@ py_binary(
":model_deploy", ":model_deploy",
":nets_factory", ":nets_factory",
":preprocessing_factory", ":preprocessing_factory",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -624,7 +640,7 @@ py_binary( ...@@ -624,7 +640,7 @@ py_binary(
":dataset_factory", ":dataset_factory",
":nets_factory", ":nets_factory",
":preprocessing_factory", ":preprocessing_factory",
"//tensorflow", # "//tensorflow",
], ],
) )
...@@ -634,8 +650,8 @@ py_binary( ...@@ -634,8 +650,8 @@ py_binary(
deps = [ deps = [
":dataset_factory", ":dataset_factory",
":nets_factory", ":nets_factory",
"//tensorflow", # "//tensorflow",
"//tensorflow/python:platform", # "//tensorflow/python:platform",
], ],
) )
...@@ -649,7 +665,7 @@ py_test( ...@@ -649,7 +665,7 @@ py_test(
], ],
deps = [ deps = [
":export_inference_graph", ":export_inference_graph",
"//tensorflow", # "//tensorflow",
"//tensorflow/python:platform", # "//tensorflow/python:platform",
], ],
) )
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment