Skip to content

Repo for MSc Advanced Project for the degree of Advanced Computing at the University of Bristol. Links to related Gits in README

Notifications You must be signed in to change notification settings

andrewginns/MSc-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MSc-Project

Work carried out for the completion an MSc degree in Advanced Computing at the University of Bristol

Full Requirements

Source Code

https://github.com/andrewginns/CycleGAN-Tensorflow-PyTorch

Pre-built models:

https://github.com/andrewginns/CycleGAN-Tensorflow-PyTorch/releases

It is recommended that the these instructions are followed before the main documentation:

Tensorflow from source

https://github.com/andrewginns/MSc-Project/blob/master/Tensorflow_Build_Instructions.md

Tensorflow tools

https://github.com/andrewginns/MSc-Project/blob/master/Tensorflow_Tools_Build_Instructions.md

Documentation

Training

https://github.com/andrewginns/MSc-Project/blob/master/Training_Instructions.md

Inference

https://github.com/andrewginns/MSc-Project/blob/master/Inference_Instructions.md

Optimisation

https://github.com/andrewginns/MSc-Project/blob/master/Model_Optimisation_Instructions.md

Benchmarking

https://github.com/andrewginns/MSc-Project/blob/master/Performance_Evaluation_Instructions.md

Visualisation

https://github.com/andrewginns/MSc-Project/blob/master/Visualisation_Instructions.md

Current problems

https://github.com/andrewginns/MSc-Project/blob/master/Current_Problems.md

Android Apps

Other tools

Summarize GrafDef proto to view nodes and other info

bazel-bin/tensorflow/tools/graph_transforms/summarize_graph --in_graph=path/to/graph.pb

View the graph in Tensorboard

tensorboard --logdir=logs/ --host localhost --port 8088

Summarize the GraphDef to view nodes and other info, should be reduced compared to the graph.pb

bazel build tensorflow/tools/graph_transforms:summarize_graph && bazel-bin/tensorflow/tools/graph_transforms/summarize_graph --in_graph=/home/andrew/Downloads/frozen-graph.pb --in_graph=/tmp/frozen_graph.pb

Useful commands

Bazel

Remove bazel - Linux

rm -rf ~/.bazel ~/.bazelrc ~/.cache/bazel

Remove bazel - macOS

rm -rf /usr/local/bin/bazel /usr/local/bin/bazel /usr/local/lib/bazel

Install bazel

sudo apt-get install pkg-config zip g++ zlib1g-dev unzip python

wget https://github.com/bazelbuild/bazel/releases/download/0.11.0/bazel-0.11.0-installer-linux-x86_64.sh

chmod +x bazel-0.11.0-installer-linux-x86_64.sh

./bazel-0.11.0-installer-linux-x86_64.sh --user

export PATH="$PATH:$HOME/bin"

You may need to add "export PATH="PATH:$HOME/bin" to the ~/.bash_profile

Additional Resources

Tensorflow reference

Graph Transform Tools reference

Movidius Reference

About

Repo for MSc Advanced Project for the degree of Advanced Computing at the University of Bristol. Links to related Gits in README

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages