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
# most of the code is refactored colmap parsing from LLFF, a GPLv3 project. | |
# this is meant to be comparable to instant-ngp's colmap2nerf.py, and uses the | |
# same arguments, with additional functions for masking and LLFF format poses. | |
# COLMAP.bat should be replaced with colmap for linux, sorry for the inconvinience | |
# NeRF datasets (--json) can be used for both instant-ngp and nvdiffrec, but | |
# require image extensions to be removed from the json list to load in the latter | |
#~~~provide a dataset folder path with another "image" subfolder with the pics~~~ | |
# ~~~colmap can be installed to PATH or linked as an argument~~~ |
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/bash | |
# License: MIT. See license file in root directory | |
# Copyright(c) JetsonHacks (2017-2019) | |
OPENCV_VERSION=4.1.1 | |
# Jetson Nano | |
ARCH_BIN=5.3 | |
INSTALL_DIR=/usr/local | |
# Download the opencv_extras repository | |
# If you are installing the opencv testdata, ie |
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
# WARNING: These steps seem to not work anymore! | |
#!/bin/bash | |
# Purge existign CUDA first | |
sudo apt --purge remove "cublas*" "cuda*" | |
sudo apt --purge remove "nvidia*" | |
# Install CUDA Toolkit 10 | |
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-repo-ubuntu1804_10.0.130-1_amd64.deb |