Last active
May 29, 2023 08:44
-
-
Save misza222/3a56329ce267c6866e6440ddd869d85d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env bash | |
cp -r /home/.ssh /root/ | |
#cp -r /home/.conda_envs/nerfstudio /opt/conda/envs/ | |
cp -r /home/.conda_envs/snerg3.8 /opt/conda/envs/ | |
#( | |
# cd /home/nerfstudio | |
# git pull | |
#) | |
## end | |
export DEBIAN_FRONTEND=noninteractive | |
apt-get update | |
#apt-get -y upgrade | |
apt-get -y install ffmpeg | |
#conda create --name nerfstudio -y python=3.8 | |
#conda init bash | |
#. ./.bashrc | |
conda activate snerg3.8 | |
#python -m pip install --upgrade pip setuptools opencv-python-headless | |
# pip install torch==2.0.1+cu118 torchvision==0.15.2+cu118 --extra-index-url https://download.pytorch.org/whl/cu118 | |
#pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch | |
#git clone git@github.com:misza222/nerfstudio.git | |
#cd nerfstudio | |
#pip install -e . | |
#ns-install-cli | |
#pip install -e .[dev] | |
#pip install -e .[docs] | |
# ns-train nerfacto --data data/nerfstudio/poster --viewer.websocket-port 7010 | |
## forward port 7010 on remote to localhost 7010 | |
## !!! run on local machine!!! | |
# ssh -f -N -L 7010:localhost:7010 -p 8967 root@ssha.jarvislabs.ai | |
## when running nerfstudio, specify --viewer.websocket-port 7010 | |
## new kernel for conda env | |
## https://jarvislabs.ai/docs/env/#start-a-new-kernel-from-jupyterlab | |
# conda activate envname | |
# jupyter kernelspec remove -y python3.8 | |
# python -m ipykernel install --user --name=python3.8 | |
## VSCode | |
#new target for debugging | |
#python extension |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment