Skip to content

Commit

Permalink
still trying to get it working:
Browse files Browse the repository at this point in the history
  • Loading branch information
lawsonfulton committed Oct 26, 2018
1 parent 101b648 commit dffbd38
Show file tree
Hide file tree
Showing 17 changed files with 2,338 additions and 4,636 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ configurations
*/*/*/*/*/details.txt
*/*/*/*/details.txt
pathdef.m
models/
deps/
extern/anaconda/
extern/bazel/
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@ $ sudo ./installDependencies.sh # When Anaconda asks if you would like to update
$ ./build.sh
```

Uncomment #define EIGEN_USE_MKL_ALL in src/AutoDefRuntime/src/main.cpp if MKL is installed you want to enable MKL support.
Uncomment #define EIGEN_USE_MKL_ALL in src/AutoDefRuntime/src/main.cpp if MKL is installed you want to enable MKL support.


TODO
- See if tensorflow_cc built the python module
- Need a way of setting kers float64 in keras.json
- Make sure that I can run tensorflow from tensorflowcc
2 changes: 1 addition & 1 deletion extern/libigl
2 changes: 1 addition & 1 deletion extern/tensorflow_cc
24 changes: 11 additions & 13 deletions installDependencies.sh
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@

### install Anaconda
CONTREPO=https://repo.continuum.io/archive/
# Stepwise filtering of the html at $CONTREPO
# Get the topmost line that matches our requirements, extract the file name.
ANACONDAURL=Anaconda3-5.3.0-Linux-x86_64.sh # Fixed version

#$(wget -q -O - $CONTREPO index.html | grep "Anaconda3-" | grep "Linux" | grep "86_64" | head -n 1 | cut -d \" -f 2)
mkdir deps/
wget -O deps/anaconda.sh $CONTREPO$ANACONDAURL
wget -O deps/anaconda.sh https://repo.continuum.io/archive/Anaconda3-5.0.0-Linux-x86_64.sh
bash deps/anaconda.sh -b -p ./extern/anaconda


# Keras stuff? Libigl python bindinggsss
# Other Deps
sudo apt-get install build-essential curl git cmake unzip autoconf autogen automake libtool mlocate zlib1g-dev g++-7 python python3-numpy python3-dev python3-pip python3-wheel wget libboost-all-dev pkg-config zip g++ zlib1g-dev unzip python
sudo updatedb



### For tensorflow cc
sudo apt-get install build-essential curl git cmake unzip autoconf autogen automake libtool mlocate \
zlib1g-dev g++-7 python python3-numpy python3-dev python3-pip python3-wheel wget libboost-all-dev
sudo updatedb

#Bazel
wget -O deps/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.18.0/bazel-0.18.0-installer-linux-x86_64.sh
bash deps/bazel.sh --user

cd extern/tensorflow_cc/tensorflow_cc
mkdir build && cd build
# for static library only:
cmake ..
make -j8 && sudo make install


#TODO Make sure that I can run tensorflow from tensorflowcc
extern/anaconda/bin/pip install keras==2.0.8 #tensorflow==1.8.0

This file was deleted.

This file was deleted.

57 changes: 0 additions & 57 deletions models/X/sim_config.json

This file was deleted.

Loading

0 comments on commit dffbd38

Please sign in to comment.