Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tiny_nerf for colab compatibility #167

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

philipkd
Copy link

Colab removed TensorFlow 1 support, so I added install commands to make it work. I also added a command to install a needed video module.

If the diff is too messy, you can simply copy and paste this code:

# %tensorflow_version 1.x
#
# TensorFlow 1 is deprecated in Colab
# https://stackoverflow.com/questions/73215696/did-colab-suspend-tensorflow-1-x

!echo y | pip uninstall tensorflow
!pip install tensorflow-gpu==1.15
!apt install --allow-change-held-packages libcudnn7=7.4.1.5-1+cuda10.0

# required for video below
!pip install imageio-ffmpeg

- added missing video module
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant