Commit 40534805 authored by Manjunath Kudlur's avatar Manjunath Kudlur
Browse files

Removed tensorflow submodule, moved files one directory level below into inception/

Updated README
parent 1a69aaa9
[submodule "tensorflow"]
path = tensorflow
url = https://github.com/tensorflow/tensorflow.git
local_repository(
name = "tf",
path = __workspace_dir__ + "/tensorflow",
)
load('//tensorflow/tensorflow:workspace.bzl', 'tf_workspace')
tf_workspace("tensorflow/")
# grpc expects //external:protobuf_clib and //external:protobuf_compiler
# to point to the protobuf's compiler library.
bind(
name = "protobuf_clib",
actual = "@tf//google/protobuf:protoc_lib",
)
bind(
name = "protobuf_compiler",
actual = "@tf//google/protobuf:protoc_lib",
)
git_repository(
name = "grpc",
commit = "73979f4",
init_submodules = True,
remote = "https://github.com/grpc/grpc.git",
)
# protobuf expects //external:grpc_cpp_plugin to point to grpc's
# C++ plugin code generator.
bind(
name = "grpc_cpp_plugin",
actual = "@grpc//:grpc_cpp_plugin",
)
bind(
name = "grpc_lib",
actual = "@grpc//:grpc++_unsecure",
)
/bazel-bin
/bazel-ci_build-cache
/bazel-genfiles
/bazel-out
/bazel-inception
/bazel-testlogs
/bazel-tf
......@@ -57,9 +57,10 @@ change over time depending on usage and subsequent research.
## Getting Started
**NOTE** Before doing anything, we first need to build TensorFlow from source.
**NOTE** Before doing anything, we first need to build TensorFlow from source,
and installed as a PIP package.
Please follow the instructions at
[Installing From Source](https://www.tensorflow.org/versions/r0.7/get_started/os_setup.html#installing-from-sources).
[Installing From Source](https://www.tensorflow.org/versions/r0.7/get_started/os_setup.html#create-the-pip-package-and-install).
Before you run the training script for the first time, you will need to
download and convert the ImageNet data to native TFRecord format. The TFRecord
......
......@@ -17,9 +17,6 @@ py_library(
srcs = [
"dataset.py",
],
deps = [
"@tf//tensorflow:tensorflow_py",
],
)
py_library(
......@@ -55,7 +52,6 @@ py_library(
"inception_model.py",
],
deps = [
"@tf//tensorflow:tensorflow_py",
":dataset",
"//inception/slim",
],
......@@ -89,7 +85,6 @@ py_library(
"inception_eval.py",
],
deps = [
"@tf//tensorflow:tensorflow_py",
":image_processing",
":inception",
],
......@@ -123,7 +118,6 @@ py_library(
"inception_train.py",
],
deps = [
"@tf//tensorflow:tensorflow_py",
":image_processing",
":inception",
],
......@@ -132,9 +126,6 @@ py_library(
py_binary(
name = "build_image_data",
srcs = ["data/build_image_data.py"],
deps = [
"@tf//tensorflow:tensorflow_py",
],
)
sh_binary(
......@@ -162,9 +153,6 @@ sh_binary(
py_binary(
name = "build_imagenet_data",
srcs = ["data/build_imagenet_data.py"],
deps = [
"@tf//tensorflow:tensorflow_py",
],
)
filegroup(
......
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