Qualeams / Android-Face-Recognition-with-Deep-Learning-Library

Face Recognition library for Android devices is an Android library (module) which includes several face recognition methods.
Apache License 2.0
371 stars 135 forks source link

Unable to optimise the custom model to detect faces #11

Closed Zumbalamambo closed 7 years ago

Zumbalamambo commented 7 years ago

I have installed tensorflow in anaconda dir . I have trained and created a model now . I wish to optimize it.

I ran the following code

bazel build tensorflow/tools/graph_transforms:transform_graph

But it is firing the following error,

no such package 'tensorflow/tools/graph_transforms': BUILD file not found on package path.

sladomic commented 7 years ago

Tensorflow in anaconda is already built. What you need here is the TensorFlow source code. Then execute this command from the source code root folder. You should also see a BUILD file under "root folder/tensorflow/tools/graph_transforms".

Zumbalamambo commented 7 years ago

graph_transforms is not present inside anaconda folder. May I know where it is?

sladomic commented 7 years ago

Ah, I mean you need to download the TensorFlow source code from here https://github.com/tensorflow/tensorflow. There you will find it. In anaconda you can only find the already built Tensorflow binary.

Zumbalamambo commented 7 years ago

Sorry for the late reply. Thanks it worked