scenic
scenic copied to clipboard
Requirements for Vid2Seq
I'm having a lot of trouble running Vid2Seq. Here are my steps:
- Create new TPU v2-8
-
gcloud compute tpus tpu-vm ssh node-1 --zone=us-central1-f
- Python version is 3.8, so update Python 3.10. Install dependencies:
sudo apt update; sudo apt install build-essential libssl-dev zlib1g-dev \
libbz2-dev libreadline-dev libsqlite3-dev curl \
libncursesw5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev
- Install Python 3.10:
curl https://pyenv.run | bash
echo 'export PATH="$HOME/.pyenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
echo 'eval "$(pyenv virtualenv-init -)"' >> ~/.bashrc
source ~/.bashrc
pyenv install 3.10.7
pyenv global 3.10.7
- Pip can't find t5x so install t5x:
git clone --branch=main https://github.com/google-research/t5x
cd t5x
python3 -m pip install -e '.[tpu]' -f \
https://storage.googleapis.com/jax-releases/libtpu_releases.html
-
git clone https://github.com/google-research/scenic
- pip install -r scenic/projects/vid2seq/requirements.txt
- I get
ERROR: Cannot install flax==0.5.0 and t5x==0.0.0 because these package versions have conflicting dependencies.
Now what do I do?
Could you provide an update? I've been encountering numerous difficulties while using the video2seq codebase for inference.
Could you provide an update? I've been encountering numerous difficulties while using the video2seq codebase for inference.
I don't have any updates yet. I might try again sometime soon. Please let me know if you figure anything out too.