Update Install Docs to use 'setup.py' instead of build_pip_pkg.sh (which does not exist).
Here:
- https://github.com/tensorflow/graphics/blob/master/tensorflow_graphics/g3doc/install.md
and here:
- https://www.tensorflow.org/graphics/install
it says use build_pip_pkg.sh to install but that file is not in the repository. Seems like the user should instead do python setup.py
Needed this to install on OSX.
Also I needed to install openexr manually from source (v2.5.5) for both Ubuntu and OSX, I got compile errors otherwise, e.g. via pip install tensorflow_graphics or python setup.py
Also according to @podlipensky tensorflow_graphics_gpu is deprecated and should be removed from README.md
Also I had trouble with the OPENEXR installation so I had to install it from source and then tell the setup.py script to skip openexr. Here is my script in case it helps someone else. Requires one manual edit, see script. Safety not guaranteed:
#!/bin/bash
# Install openexr from source. Because `pip install tensorflow_graphics` fails.
echo "Installing openexr from source"
wget https://github.com/AcademySoftwareFoundation/openexr/archive/v2.5.5.tar.gz
tar -xvf v2.5.5.tar.gz
cd openexr-2.5.5/
mkdir build
cd build
cmake ../
make
make install
cd ../../ # pop back to starting directory.
# Install TensorFlow Graphics. For OSX.
echo "Installing TensorFlow Graphics from source."
git clone https://github.com/tensorflow/graphics.git
cd graphics
# XXX MANUAL: Comment out OpenEXR in requirements.txt XXX
python setup.py sdist bdist_wheel # Build pip pkg.
pip install --upgrade dist/*.whl
echo "All Done... check for errors."